diff options
author | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
commit | d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (patch) | |
tree | c2018fecf565e4fb5289f59a4ef1cd6494cab372 /properties | |
parent | 2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff) | |
download | atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2 atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz |
Do not use deprecated GTK_TYPE_VBOX definitions
Diffstat (limited to 'properties')
-rw-r--r-- | properties/ev-properties-view.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c index 396a9b63..8555c627 100644 --- a/properties/ev-properties-view.c +++ b/properties/ev-properties-view.c @@ -74,7 +74,7 @@ static const PropertyInfo properties_info[] = { }; struct _EvPropertiesView { - GtkVBox base_instance; + GtkBox base_instance; GtkWidget *table; GtkWidget *labels[N_PROPERTIES]; @@ -82,10 +82,10 @@ struct _EvPropertiesView { }; struct _EvPropertiesViewClass { - GtkVBoxClass base_class; + GtkBoxClass base_class; }; -G_DEFINE_TYPE (EvPropertiesView, ev_properties_view, GTK_TYPE_VBOX) +G_DEFINE_TYPE (EvPropertiesView, ev_properties_view, GTK_TYPE_BOX) static void ev_properties_view_dispose (GObject *object) @@ -385,6 +385,7 @@ ev_properties_view_set_info (EvPropertiesView *properties, const EvDocumentInfo static void ev_properties_view_init (EvPropertiesView *properties) { + gtk_orientable_set_orientation (GTK_ORIENTABLE (properties), GTK_ORIENTATION_VERTICAL); properties->table = gtk_table_new (13, 2, FALSE); gtk_table_set_col_spacings (GTK_TABLE (properties->table), 12); gtk_table_set_row_spacings (GTK_TABLE (properties->table), 6); |