Update call from Gtk+ 1.2 to 2.0

This commit is contained in:
whydoubt 2006-05-24 01:39:48 +00:00
parent f5f0f8b073
commit bf4d46e80b
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
Tue May 23 19:40:55 CDT 2006 Jeff Smith <whydoubt@yahoo.com>
* src/util/mdb-export.c: Fix typo in help text
* configure.in: Clean up use of autoconf macros
* src/gmdb2/util.c: Update call from Gtk+ 1.2 to 2.0
Sat Dec 17 03:49:30 CST 2005 Jeff Smith <whydoubt@yahoo.com>
* src/util/mdb-sql.c: Add fflush after each newline (Pedro Gutierrez)

View File

@ -29,8 +29,8 @@ GtkWidget *dialog, *label, *okay_button;
/* Ensure that the dialog box is destroyed when the user clicks ok. */
gtk_signal_connect_object (GTK_OBJECT (okay_button), "clicked",
GTK_SIGNAL_FUNC (gtk_widget_destroy), dialog);
g_signal_connect_swapped (G_OBJECT (okay_button), "clicked",
G_CALLBACK (gtk_widget_destroy), dialog);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->action_area),
okay_button);