diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-29 16:32:01 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-29 16:32:01 +0800 |
commit | b41b89d2288fa87201f17909ce6ca252dacd292e (patch) | |
tree | 607e01e621657cf0badea7c4403d6f4a240fef5d /lib/egg/eggtoggletoolbutton.c | |
parent | 515526399a7f11480c4077c55cdde9c5a796aca4 (diff) | |
download | gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.gz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.bz2 gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.lz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.xz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.zst gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.zip |
Make sure marshalers are regenerated
2003-06-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/egg/Makefile.am:
Make sure marshalers are regenerated
* lib/egg/egg-editable-toolbar.c:
* lib/egg/eggmarshalers.c:
* lib/egg/eggmarshalers.h:
* lib/egg/eggmarshalers.list:
* lib/egg/eggradiotoolbutton.c:
* lib/egg/eggradiotoolbutton.h:
* lib/egg/eggtoggletoolbutton.c:
* lib/egg/eggtoggletoolbutton.h:
* lib/egg/eggtoolbar.c:
* lib/egg/eggtoolbar.h:
* lib/egg/eggtoolbutton.c:
* lib/egg/eggtoolbutton.h:
* lib/egg/eggtoolitem.c:
* lib/egg/eggtoolitem.h:
Update
Diffstat (limited to 'lib/egg/eggtoggletoolbutton.c')
-rw-r--r-- | lib/egg/eggtoggletoolbutton.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/egg/eggtoggletoolbutton.c b/lib/egg/eggtoggletoolbutton.c index 63b9438de..b755275f2 100644 --- a/lib/egg/eggtoggletoolbutton.c +++ b/lib/egg/eggtoggletoolbutton.c @@ -148,9 +148,6 @@ egg_toggle_tool_button_create_menu_proxy (EggToolItem *item) else menu_item = gtk_check_menu_item_new_with_label (label); - g_object_ref (menu_item); - gtk_object_sink (GTK_OBJECT (menu_item)); - gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_item), toggle_tool_button->active); @@ -161,8 +158,6 @@ egg_toggle_tool_button_create_menu_proxy (EggToolItem *item) FALSE); egg_tool_item_set_proxy_menu_item (item, MENU_ID, menu_item); - - g_object_unref (menu_item); return TRUE; } @@ -172,7 +167,7 @@ menu_item_activated (GtkWidget *menu_item, EggToggleToolButton *toggle_tool_button) { EggToolButton *tool_button = EGG_TOOL_BUTTON (toggle_tool_button); - gboolean menu_active = GTK_CHECK_MENU_ITEM (menu_item)->active; + gboolean menu_active = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menu_item)); if (toggle_tool_button->active != menu_active) { |