From 1c6fdb2761de494f6ce4c6cd2e2e57c03827c88f Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 29 Nov 2008 19:14:05 +0000 Subject: ephy-toolbar: remove useless realize/unrealize methods. svn path=/trunk/; revision=8618 --- src/ephy-toolbar.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 33bfe6281..e08f8d012 100644 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -499,18 +499,6 @@ ephy_toolbar_set_zoom (EphyToolbar *toolbar, /* Class implementation */ -static void -ephy_toolbar_realize (GtkWidget *widget) -{ - GTK_WIDGET_CLASS (ephy_toolbar_parent_class)->realize (widget); -} - -static void -ephy_toolbar_unrealize (GtkWidget *widget) -{ - GTK_WIDGET_CLASS (ephy_toolbar_parent_class)->unrealize (widget); -} - static void ephy_toolbar_init (EphyToolbar *toolbar) { @@ -599,16 +587,12 @@ static void ephy_toolbar_class_init (EphyToolbarClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); object_class->constructor = ephy_toolbar_constructor; object_class->finalize = ephy_toolbar_finalize; object_class->set_property = ephy_toolbar_set_property; object_class->get_property = ephy_toolbar_get_property; - widget_class->realize = ephy_toolbar_realize; - widget_class->unrealize = ephy_toolbar_unrealize; - signals[ACTIVATION_FINISHED] = g_signal_new ("activation-finished", G_OBJECT_CLASS_TYPE (object_class), -- cgit v1.2.3