diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-11-13 06:31:47 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-11-13 06:31:47 +0800 |
commit | 7e734202c2be76070d5f9a0af821f03191aaf25e (patch) | |
tree | 3da72a2bee95986bddb7d3543188264a1f6f9538 | |
parent | 025d857b123ec2bfb9dfe99c99dd812210870897 (diff) | |
download | gsoc2013-evolution-7e734202c2be76070d5f9a0af821f03191aaf25e.tar.gz gsoc2013-evolution-7e734202c2be76070d5f9a0af821f03191aaf25e.tar.zst gsoc2013-evolution-7e734202c2be76070d5f9a0af821f03191aaf25e.zip |
Use non-deprecated gtk_menu_shell_append ().
2003-11-12 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (add_popup_menu_item): Use non-deprecated
gtk_menu_shell_append ().
svn path=/trunk/; revision=23306
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 61e04eee68..c48ee675cc 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-11-12 Hans Petter Jansson <hpj@ximian.com> + + * gui/calendar-component.c (add_popup_menu_item): Use non-deprecated + gtk_menu_shell_append (). + 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50808 diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 8dd7865897..790b53b727 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -148,7 +148,7 @@ add_popup_menu_item (GtkMenu *menu, const char *label, const char *pixmap, if (callback) g_signal_connect (G_OBJECT (item), "activate", callback, user_data); - gtk_menu_append (menu, item); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_widget_show (item); } |