[gdl] Fix crash.



commit b7bdfb03bae3f25151a069357f6b5fc94c441617
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Nov 3 13:39:38 2010 +0100

    Fix crash.

 gdl/gdl-dock-bar.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdl/gdl-dock-bar.c b/gdl/gdl-dock-bar.c
index 3798da7..e90083f 100644
--- a/gdl/gdl-dock-bar.c
+++ b/gdl/gdl-dock-bar.c
@@ -100,8 +100,6 @@ gdl_dock_bar_class_init (GdlDockBarClass *klass)
     g_object_class->get_property = gdl_dock_bar_get_property;
     g_object_class->set_property = gdl_dock_bar_set_property;
 
-    widget_class->destroy = gdl_dock_bar_destroy;
-
     g_object_class_install_property (
         g_object_class, PROP_MASTER,
         g_param_spec_object ("master", _("Master"),
@@ -122,6 +120,7 @@ gdl_dock_bar_class_init (GdlDockBarClass *klass)
     widget_class->get_preferred_width = gdl_dock_bar_get_preferred_width;
     widget_class->get_preferred_height = gdl_dock_bar_get_preferred_height;
     widget_class->size_allocate = gdl_dock_bar_size_allocate;
+    widget_class->destroy = gdl_dock_bar_destroy;
 }
 
 static void



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