diff src/gtk/menu-items.c @ 21:4b244bf9d84d

2002-09-16 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c, src/gtk/menu-items.c, src/gtk/misc-gtk.c - Fixed compile errors when compiling against GTK+ 1.2 * src/gtk/misc-gtk.c (MakeEditDialog, MakeYesNoDialog) - fixed to work with GTK+ 1.2
author masneyb
date Tue, 17 Sep 2002 12:00:50 +0000
parents 3b2dcdefc7e9
children c8ec7877432e
line wrap: on
line diff
--- a/src/gtk/menu-items.c	Tue Sep 17 01:34:31 2002 +0000
+++ b/src/gtk/menu-items.c	Tue Sep 17 12:00:50 2002 +0000
@@ -205,7 +205,7 @@
 
 
 static void
-destroy_save_directory_listing (gftp_save_dir_struct * str)
+destroy_save_directory_listing (GtkWidget * widget, gftp_save_dir_struct * str)
 {
   gtk_widget_destroy (str->filew);
   g_free (str);
@@ -287,11 +287,12 @@
   gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
                       "clicked", GTK_SIGNAL_FUNC (dosave_directory_listing), 
                       str);
-  gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
-                             "clicked", 
-                             GTK_SIGNAL_FUNC (destroy_save_directory_listing),
-                             str);
-  gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION (filew)->cancel_button), "clicked", GTK_SIGNAL_FUNC (destroy_save_directory_listing), str);
+  gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
+                      "clicked", 
+                      GTK_SIGNAL_FUNC (destroy_save_directory_listing), str);
+  gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filew)->cancel_button), 
+                      "clicked", 
+                      GTK_SIGNAL_FUNC (destroy_save_directory_listing), str);
 
   gtk_window_set_wmclass (GTK_WINDOW(filew), "Save Directory Listing", "gFTP");
   gtk_widget_show (filew);