diff options
author | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-08-30 01:17:42 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-08-30 01:17:42 +0800 |
commit | 07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4 (patch) | |
tree | ffa40aa822515f159aa944d613b711bc921e6522 /lib/widgets/ephy-arrow-toolbutton.c | |
parent | 322e9bc21fbd27e9ee920b1908d04ba4302381df (diff) | |
download | gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar.gz gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar.bz2 gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar.lz gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar.xz gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.tar.zst gsoc2013-epiphany-07f0c900d6ade15ceb7ef418aa0ea7dabd1909c4.zip |
Part of gtk 2.3 port, changelog too long to paste it
Diffstat (limited to 'lib/widgets/ephy-arrow-toolbutton.c')
-rw-r--r-- | lib/widgets/ephy-arrow-toolbutton.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/ephy-arrow-toolbutton.c b/lib/widgets/ephy-arrow-toolbutton.c index 36fd99847..e40237f5f 100644 --- a/lib/widgets/ephy-arrow-toolbutton.c +++ b/lib/widgets/ephy-arrow-toolbutton.c @@ -71,7 +71,7 @@ ephy_arrow_toolbutton_get_type (void) (GInstanceInitFunc) ephy_arrow_toolbutton_init }; - ephy_arrow_toolbutton_type = g_type_register_static (EGG_TYPE_TOOL_BUTTON, + ephy_arrow_toolbutton_type = g_type_register_static (GTK_TYPE_TOOL_BUTTON, "EphyArrowToolButton", &our_info, 0); } @@ -81,7 +81,7 @@ ephy_arrow_toolbutton_get_type (void) static gboolean -ephy_arrow_toolbutton_set_tooltip (EggToolItem *tool_item, +ephy_arrow_toolbutton_set_tooltip (GtkToolItem *tool_item, GtkTooltips *tooltips, const char *tip_text, const char *tip_private) @@ -99,7 +99,7 @@ static void ephy_arrow_toolbutton_class_init (EphyArrowToolButtonClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - EggToolItemClass *tool_item_class = EGG_TOOL_ITEM_CLASS (klass); + GtkToolItemClass *tool_item_class = GTK_TOOL_ITEM_CLASS (klass); parent_class = g_type_class_peek_parent (klass); @@ -204,11 +204,11 @@ ephy_arrow_toolbutton_init (EphyArrowToolButton *arrowtb) arrowtb->priv = g_new (EphyArrowToolButtonPrivate, 1); - egg_tool_item_set_homogeneous (EGG_TOOL_ITEM (arrowtb), FALSE); + gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM (arrowtb), FALSE); hbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox); - real_button = EGG_TOOL_BUTTON (arrowtb)->button; + real_button = GTK_BIN (arrowtb)->child; g_object_ref (real_button); gtk_container_remove (GTK_CONTAINER (arrowtb), real_button); gtk_container_add (GTK_CONTAINER (hbox), real_button); |