[gedit-plugins/gnome-3-0] No longer use Gtk[HV]Box as it is deprecated
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/gnome-3-0] No longer use Gtk[HV]Box as it is deprecated
- Date: Fri, 17 Jun 2011 11:20:54 +0000 (UTC)
commit 21e77b7c66fc73f9e47a9d1dbf7158bd98e6aded
Author: Garrett Regier <alias301 gmail com>
Date: Sun Jun 12 12:48:30 2011 -0700
No longer use Gtk[HV]Box as it is deprecated
plugins/taglist/gedit-taglist-plugin-panel.c | 5 ++++-
plugins/taglist/gedit-taglist-plugin-panel.h | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/plugins/taglist/gedit-taglist-plugin-panel.c b/plugins/taglist/gedit-taglist-plugin-panel.c
index 4d3bf7d..cdb31d4 100644
--- a/plugins/taglist/gedit-taglist-plugin-panel.c
+++ b/plugins/taglist/gedit-taglist-plugin-panel.c
@@ -67,7 +67,7 @@ struct _GeditTaglistPluginPanelPrivate
gchar *data_dir;
};
-G_DEFINE_DYNAMIC_TYPE (GeditTaglistPluginPanel, gedit_taglist_plugin_panel, GTK_TYPE_VBOX)
+G_DEFINE_DYNAMIC_TYPE (GeditTaglistPluginPanel, gedit_taglist_plugin_panel, GTK_TYPE_BOX)
enum
{
@@ -665,6 +665,9 @@ gedit_taglist_plugin_panel_init (GeditTaglistPluginPanel *panel)
panel->priv = GEDIT_TAGLIST_PLUGIN_PANEL_GET_PRIVATE (panel);
panel->priv->data_dir = NULL;
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (panel),
+ GTK_ORIENTATION_VERTICAL);
+
/* Build the window content */
panel->priv->tag_groups_combo = gtk_combo_box_text_new ();
gtk_box_pack_start (GTK_BOX (panel),
diff --git a/plugins/taglist/gedit-taglist-plugin-panel.h b/plugins/taglist/gedit-taglist-plugin-panel.h
index 859d6d2..ddbcf98 100644
--- a/plugins/taglist/gedit-taglist-plugin-panel.h
+++ b/plugins/taglist/gedit-taglist-plugin-panel.h
@@ -49,7 +49,7 @@ typedef struct _GeditTaglistPluginPanelClass GeditTaglistPluginPanelClass;
struct _GeditTaglistPluginPanel
{
- GtkVBox vbox;
+ GtkBox vbox;
/*< private > */
GeditTaglistPluginPanelPrivate *priv;
@@ -57,7 +57,7 @@ struct _GeditTaglistPluginPanel
struct _GeditTaglistPluginPanelClass
{
- GtkVBoxClass parent_class;
+ GtkBoxClass parent_class;
};
GType gedit_taglist_plugin_panel_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]