[totem] drop GtkObject use



commit 64cf15c8a105f7a1ac9e0d4e4b414f23d15c7c74
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 27 13:28:55 2010 +0100

    drop GtkObject use
    
    As it has been removed in GTK+ 3.x
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630683

 src/ev-sidebar.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/ev-sidebar.c b/src/ev-sidebar.c
index 3a03fb0..d0dd2b6 100644
--- a/src/ev-sidebar.c
+++ b/src/ev-sidebar.c
@@ -61,25 +61,15 @@ G_DEFINE_TYPE (EvSidebar, ev_sidebar, GTK_TYPE_VBOX)
 		(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR, EvSidebarPrivate))
 
 static void
-ev_sidebar_destroy (GtkObject *object)
-{
-	(* GTK_OBJECT_CLASS (ev_sidebar_parent_class)->destroy) (object);
-}
-
-static void
 ev_sidebar_class_init (EvSidebarClass *ev_sidebar_class)
 {
 	GObjectClass *g_object_class;
 	GtkWidgetClass *widget_class;
-	GtkObjectClass *gtk_object_klass;
  
 	g_object_class = G_OBJECT_CLASS (ev_sidebar_class);
 	widget_class = GTK_WIDGET_CLASS (ev_sidebar_class);
-	gtk_object_klass = GTK_OBJECT_CLASS (ev_sidebar_class);
 	   
 	g_type_class_add_private (g_object_class, sizeof (EvSidebarPrivate));
-	   
-	gtk_object_klass->destroy = ev_sidebar_destroy;
 
 	ev_sidebar_table_signals[CLOSED] =
 		g_signal_new ("closed",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]