# HG changeset patch # User masneyb # Date 1036018590 0 # Node ID 9c0825c047e716862a9751074dff35767ce750e7 # Parent 36e2868ce8b7841e21a205bb052159eb19ee4a29 2002-10-30 Brian Masney * src/gtk/gftp-gtk.c (CreateMenus) - no longer use depreciated _gtk_accel_group_attach in GTK+ 2.0 port. Instead use gtk_window_add_accel_group for both GTK+ ports (from Nam SungHyun ) diff -r 36e2868ce8b7 -r 9c0825c047e7 ChangeLog --- a/ChangeLog Wed Oct 30 22:34:15 2002 +0000 +++ b/ChangeLog Wed Oct 30 22:56:30 2002 +0000 @@ -1,3 +1,9 @@ +2002-10-30 Brian Masney + * src/gtk/gftp-gtk.c (CreateMenus) - no longer use depreciated + _gtk_accel_group_attach in GTK+ 2.0 port. Instead use + gtk_window_add_accel_group for both GTK+ ports + (from Nam SungHyun ) + 2002-10-30 Brian Masney * src/gtk/transfer.c (getdir_thread) - set use_jmp_environment to 0 instead of 1 @@ -109,7 +115,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.22 2002/10/30 22:34:14 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.23 2002/10/30 22:56:29 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 36e2868ce8b7 -r 9c0825c047e7 src/gtk/gftp-gtk.c --- a/src/gtk/gftp-gtk.c Wed Oct 30 22:34:15 2002 +0000 +++ b/src/gtk/gftp-gtk.c Wed Oct 30 22:56:30 2002 +0000 @@ -512,11 +512,7 @@ build_bookmarks_menu (); -#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2 - gtk_accel_group_attach (accel_group, GTK_OBJECT (parent)); -#else - _gtk_accel_group_attach (accel_group, G_OBJECT (parent)); -#endif + gtk_window_add_accel_group (GTK_WINDOW (parent), accel_group); tempwid = gtk_item_factory_get_widget (factory, menu_items[6].path); gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (tempwid), TRUE);