[libgd] Make GdStack a proper GtkContainer



commit a2a86f6ea66f2a01f30ed73bc42b92e346e6c930
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Tue Feb 26 11:15:20 2013 +0100

    Make GdStack a proper GtkContainer
    
    The parent GType of GdStack was set to GTK_TYPE_BIN, while
    the embedded parent object was GtkContainer and the embedded
    parent class was GtkBin. Now it's just a GtkContainer everywhere.

 libgd/gd-stack.c |    2 +-
 libgd/gd-stack.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgd/gd-stack.c b/libgd/gd-stack.c
index f0adadf..be2cc87 100644
--- a/libgd/gd-stack.c
+++ b/libgd/gd-stack.c
@@ -128,7 +128,7 @@ static void     gd_stack_set_child_property             (GtkContainer *container
                                                          GParamSpec   *pspec);
 static void     gd_stack_unschedule_ticks               (GdStack *stack);
 
-G_DEFINE_TYPE(GdStack, gd_stack, GTK_TYPE_BIN);
+G_DEFINE_TYPE(GdStack, gd_stack, GTK_TYPE_CONTAINER);
 
 static void
 gd_stack_init (GdStack *stack)
diff --git a/libgd/gd-stack.h b/libgd/gd-stack.h
index 38b8729..8d49e51 100644
--- a/libgd/gd-stack.h
+++ b/libgd/gd-stack.h
@@ -44,7 +44,7 @@ struct _GdStack {
 };
 
 struct _GdStackClass {
-  GtkBinClass parent_class;
+  GtkContainerClass parent_class;
 };
 
 GType gd_stack_get_type (void) G_GNUC_CONST;


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