summaryrefslogtreecommitdiff
path: root/shell/ev-properties-fonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-properties-fonts.c')
-rw-r--r--shell/ev-properties-fonts.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/ev-properties-fonts.c b/shell/ev-properties-fonts.c
index ac3c2c4e..d62ed6eb 100644
--- a/shell/ev-properties-fonts.c
+++ b/shell/ev-properties-fonts.c
@@ -31,7 +31,7 @@
#include "ev-properties-fonts.h"
struct _EvPropertiesFonts {
- GtkVBox base_instance;
+ GtkBox base_instance;
GtkWidget *fonts_treeview;
GtkWidget *fonts_progress_label;
@@ -41,13 +41,13 @@ struct _EvPropertiesFonts {
};
struct _EvPropertiesFontsClass {
- GtkVBoxClass base_class;
+ GtkBoxClass base_class;
};
static void
job_fonts_finished_cb (EvJob *job, EvPropertiesFonts *properties);
-G_DEFINE_TYPE (EvPropertiesFonts, ev_properties_fonts, GTK_TYPE_VBOX)
+G_DEFINE_TYPE (EvPropertiesFonts, ev_properties_fonts, GTK_TYPE_BOX)
static void
ev_properties_fonts_dispose (GObject *object)
@@ -109,6 +109,7 @@ ev_properties_fonts_init (EvPropertiesFonts *properties)
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (properties), GTK_ORIENTATION_VERTICAL);
gtk_container_set_border_width (GTK_CONTAINER (properties), 12);
gtk_box_set_spacing (GTK_BOX (properties), 6);