gfio: use G_OBJECT(), not GTK_OBJECT()
[fio.git] / gfio.c
diff --git a/gfio.c b/gfio.c
index 544d96aae03763ff89e3ba78459d47a854ad24d6..253d1fe9dda00e3ee2e426acd7d8a316ffce6059 100644 (file)
--- a/gfio.c
+++ b/gfio.c
@@ -592,8 +592,8 @@ static int get_connection_details(struct gui_entry *ge)
        /*
         * Connect edit signal, so we can show/not-show the auto start button
         */
-       g_signal_connect(GTK_OBJECT(cw.hentry), "changed", G_CALLBACK(hostname_cb), &cw);
-       g_signal_connect(GTK_OBJECT(cw.combo), "changed", G_CALLBACK(hostname_cb), &cw);
+       g_signal_connect(G_OBJECT(cw.hentry), "changed", G_CALLBACK(hostname_cb), &cw);
+       g_signal_connect(G_OBJECT(cw.combo), "changed", G_CALLBACK(hostname_cb), &cw);
 
        gtk_widget_show_all(dialog);