Add button to fetch current IP address

This commit is contained in:
2025-09-27 20:31:13 +02:00
parent 5ea7f762dc
commit 0980467534
3 changed files with 50 additions and 27 deletions

View File

@@ -60,15 +60,6 @@ public class Allesapp.Application : Adw.Application {
private void on_preferences_action () {
message ("app.preferences action activated");
var session = new Soup.Session ();
var msg = new Soup.Message ("GET", "http://ip4.clerie.de");
var input_stream = session.send (msg);
var data_input_stream = new DataInputStream (input_stream);
message (data_input_stream.read_line_utf8());
}
}