From 7e734202c2be76070d5f9a0af821f03191aaf25e Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 12 Nov 2003 22:31:47 +0000 Subject: Use non-deprecated gtk_menu_shell_append (). 2003-11-12 Hans Petter Jansson * gui/calendar-component.c (add_popup_menu_item): Use non-deprecated gtk_menu_shell_append (). svn path=/trunk/; revision=23306 --- calendar/ChangeLog | 5 +++++ calendar/gui/calendar-component.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * gui/calendar-component.c (add_popup_menu_item): Use non-deprecated + gtk_menu_shell_append (). + 2003-11-11 Bolian Yin 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); } -- cgit v1.2.3