Prefer gtk-2 over gtk-3 for the time being as some functions are now marked as deprec...
[dhcpcd-ui] / src / dhcpcd-gtk / main.c
index 62066d72f038443948c305621d862a0e41f41beb..9caf5fe3249cc1a410b1add145afbc5559f5dfda 100644 (file)
@@ -403,7 +403,7 @@ add_watch_cb(DHCPCD_CONNECTION *con, const struct pollfd *fd,
 {
        struct watch *w;
        GIOChannel *gio;
-       int flags;
+       GIOCondition flags;
        guint eventid;
 
        /* Remove any existing watch */
@@ -446,7 +446,7 @@ main(int argc, char *argv[])
        setlocale(LC_ALL, "");
        bindtextdomain(PACKAGE, NULL);
        bind_textdomain_codeset(PACKAGE, "UTF-8");
-       textdomain(PACKAGE); 
+       textdomain(PACKAGE);
 
        gtk_init(&argc, &argv);
        g_set_application_name("Network Configurator");