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/egg/eggseparatortoolitem.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/egg/eggseparatortoolitem.c')
-rw-r--r-- | lib/egg/eggseparatortoolitem.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/lib/egg/eggseparatortoolitem.c b/lib/egg/eggseparatortoolitem.c deleted file mode 100644 index 90b8e5204..000000000 --- a/lib/egg/eggseparatortoolitem.c +++ /dev/null @@ -1,72 +0,0 @@ -#include <gtk/gtkseparatormenuitem.h> -#include "eggseparatortoolitem.h" - -#ifndef _ -# define _(s) (s) -#endif - -static void egg_separator_tool_item_class_init (EggSeparatorToolItemClass*class); - -static void egg_separator_tool_item_add (GtkContainer *container, - GtkWidget *child); - -static GObjectClass *parent_class = NULL; - - -GType -egg_separator_tool_item_get_type (void) -{ - static GType type = 0; - - if (!type) - { - static const GTypeInfo type_info = - { - sizeof (EggSeparatorToolItemClass), - (GBaseInitFunc) 0, - (GBaseFinalizeFunc) 0, - (GClassInitFunc) egg_separator_tool_item_class_init, - (GClassFinalizeFunc) 0, - NULL, - sizeof (EggSeparatorToolItem), - 0, /* n_preallocs */ - (GInstanceInitFunc) NULL, - }; - - type = g_type_register_static (EGG_TYPE_TOOL_ITEM, - "EggSeparatorToolItem", &type_info, 0); - } - return type; -} - - -static void -egg_separator_tool_item_class_init (EggSeparatorToolItemClass *class) -{ - GtkContainerClass *container_class; - EggToolItemClass *toolitem_class; - - parent_class = g_type_class_peek_parent (class); - container_class = (GtkContainerClass *)class; - toolitem_class = (EggToolItemClass *)class; - - container_class->add = egg_separator_tool_item_add; -} - -static void -egg_separator_tool_item_add (GtkContainer *container, - GtkWidget *child) -{ - g_warning("attempt to add a child to an EggSeparatorToolItem"); -} - -EggToolItem * -egg_separator_tool_item_new (void) -{ - EggToolItem *self; - - self = g_object_new (EGG_TYPE_SEPARATOR_TOOL_ITEM, - NULL); - - return self; -} |