[goffice] Make rotation selector work again.



commit fa7b3e00457ed30cd6c68561ade851d66756a044
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Mar 3 20:10:54 2014 +0100

    Make rotation selector work again.

 ChangeLog                     |    4 ++++
 goffice/gtk/go-rotation-sel.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4ff60c0..39b7baf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-03  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/gtk/go-rotation-sel.c: fixed parent class.
+
 2014-02-19  Jean Brefort  <jean brefort normalesup org>
 
        * Makefile.am: add new mmlitex subdir.
diff --git a/goffice/gtk/go-rotation-sel.c b/goffice/gtk/go-rotation-sel.c
index 5d82e44..4cc7024 100644
--- a/goffice/gtk/go-rotation-sel.c
+++ b/goffice/gtk/go-rotation-sel.c
@@ -40,7 +40,7 @@ struct _GORotationSel {
 };
 
 typedef struct {
-       GtkBoxClass parent_class;
+       GtkGridClass parent_class;
        void (* rotation_changed) (GORotationSel *grs, int angle);
 } GORotationSelClass;
 
@@ -269,7 +269,7 @@ grs_class_init (GObjectClass *klass)
 }
 
 GSF_CLASS (GORotationSel, go_rotation_sel,
-          grs_class_init, grs_init, GTK_TYPE_BOX)
+          grs_class_init, grs_init, GTK_TYPE_GRID)
 
 GtkWidget *
 go_rotation_sel_new (void)


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