summaryrefslogtreecommitdiff
path: root/shell/ev-properties-fonts.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 16:13:54 +0200
committerraveit65 <[email protected]>2016-06-22 16:13:54 +0200
commitd4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (patch)
treec2018fecf565e4fb5289f59a4ef1cd6494cab372 /shell/ev-properties-fonts.c
parent2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff)
downloadatril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2
atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz
Do not use deprecated GTK_TYPE_VBOX definitions
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);