diff options
Diffstat (limited to 'widgets/misc/e-popup-menu.c')
-rw-r--r-- | widgets/misc/e-popup-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c index 1cfae2da63..e3a8ec20ab 100644 --- a/widgets/misc/e-popup-menu.c +++ b/widgets/misc/e-popup-menu.c @@ -178,7 +178,7 @@ e_popup_menu_copy_1 (EPopupMenu *destination, destination->pixmap_widget = source->pixmap_widget; if (destination->pixmap_widget) - gtk_object_ref (GTK_OBJECT (destination->pixmap_widget)); + g_object_ref (destination->pixmap_widget); destination->closure = source->closure; destination->is_toggle = source->is_toggle; @@ -196,7 +196,7 @@ e_popup_menu_free_1 (EPopupMenu *menu_item) e_popup_menu_free (menu_item->submenu); if (menu_item->pixmap_widget) - gtk_object_unref (GTK_OBJECT (menu_item->pixmap_widget)); + g_object_unref (menu_item->pixmap_widget); } EPopupMenu * |