[gedit] Convert GeditMultiNotebook into a GtkGrid



commit 3b55fd61693d8b21013628628b4e4682220c5227
Author: Garrett Regier <garrett yorba org>
Date:   Fri Jul 12 11:24:13 2013 -0700

    Convert GeditMultiNotebook into a GtkGrid

 gedit/gedit-multi-notebook.c |    2 +-
 gedit/gedit-multi-notebook.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-multi-notebook.c b/gedit/gedit-multi-notebook.c
index 1565535..0ed584f 100644
--- a/gedit/gedit-multi-notebook.c
+++ b/gedit/gedit-multi-notebook.c
@@ -62,7 +62,7 @@ enum
 
 static guint signals[LAST_SIGNAL] = { 0 };
 
-G_DEFINE_TYPE (GeditMultiNotebook, gedit_multi_notebook, GTK_TYPE_BOX)
+G_DEFINE_TYPE (GeditMultiNotebook, gedit_multi_notebook, GTK_TYPE_GRID)
 
 static void    remove_notebook         (GeditMultiNotebook *mnb,
                                         GtkWidget          *notebook);
diff --git a/gedit/gedit-multi-notebook.h b/gedit/gedit-multi-notebook.h
index be0aae9..28db090 100644
--- a/gedit/gedit-multi-notebook.h
+++ b/gedit/gedit-multi-notebook.h
@@ -45,14 +45,14 @@ typedef struct _GeditMultiNotebookPrivate   GeditMultiNotebookPrivate;
 
 struct _GeditMultiNotebook
 {
-       GtkBox parent;
+       GtkGrid parent;
 
        GeditMultiNotebookPrivate *priv;
 };
 
 struct _GeditMultiNotebookClass
 {
-       GtkBoxClass parent_class;
+       GtkGridClass parent_class;
 
        /* Signals */
        void    (* notebook_added)              (GeditMultiNotebook *mnb,


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