diff options
-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); } |