comparison src/gtk/gftp-gtk.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 d930e06af9ae
comparison
equal deleted inserted replaced
20:3d8380283d0c 21:4b244bf9d84d
627 } 627 }
628 gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu), protocol_menu); 628 gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu), protocol_menu);
629 gtk_option_menu_set_history (GTK_OPTION_MENU (optionmenu), num); 629 gtk_option_menu_set_history (GTK_OPTION_MENU (optionmenu), num);
630 630
631 #if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2 631 #if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
632 tempwid = toolbar_pixmap (ui, "stop.xpm"); 632 tempwid = toolbar_pixmap (parent, "stop.xpm");
633 #else 633 #else
634 tempwid = gtk_image_new_from_stock (GTK_STOCK_STOP, 634 tempwid = gtk_image_new_from_stock (GTK_STOCK_STOP,
635 GTK_ICON_SIZE_LARGE_TOOLBAR); 635 GTK_ICON_SIZE_LARGE_TOOLBAR);
636 #endif 636 #endif
637 637