[Frugalware-darcs] fw-control-center: gnetconfig: use gtk_dialog_run() for displaying dialogs.

Priyank priyank at frugalware.org
Sun Jun 10 21:18:47 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fw-control-center;a=darcs_commitdiff;h=20070610191522-5ce2c-9b149f9915026193277be99881cd1a00ede772e1.gz;

[gnetconfig: use gtk_dialog_run() for displaying dialogs.
Priyank <priyank at frugalware.org>**20070610191522
 * Don't connect the response signal, instead show the dialog and destroy
   it after running.
] {
hunk ./gnetconfig/src/gnetconfig-messages.c 48
-		g_signal_connect (error_dlg, "response", G_CALLBACK (gtk_widget_destroy), error_dlg);
-
-		gtk_widget_show_all (error_dlg);
+		gtk_dialog_run (GTK_DIALOG(error_dlg));
+		gtk_widget_destroy (error_dlg);
hunk ./gnetconfig/src/gnetconfig-messages.c 66
-	g_signal_connect (message_dlg, "response", G_CALLBACK (gtk_widget_destroy), message_dlg);
-	gtk_widget_show_all (message_dlg);
+	gtk_dialog_run (GTK_DIALOG(message_dlg));
+	gtk_widget_destroy (message_dlg);
}


More information about the Frugalware-darcs mailing list