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 /shell/ev-properties-license.c | |
parent | 2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff) | |
download | atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2 atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz |
Do not use deprecated GTK_TYPE_VBOX definitions
Diffstat (limited to 'shell/ev-properties-license.c')
-rw-r--r-- | shell/ev-properties-license.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/ev-properties-license.c b/shell/ev-properties-license.c index 5e41d893..154991a4 100644 --- a/shell/ev-properties-license.c +++ b/shell/ev-properties-license.c @@ -29,14 +29,14 @@ #include "ev-properties-license.h" struct _EvPropertiesLicense { - GtkVBox base_instance; + GtkBox base_instance; }; struct _EvPropertiesLicenseClass { - GtkVBoxClass base_class; + GtkBoxClass base_class; }; -G_DEFINE_TYPE (EvPropertiesLicense, ev_properties_license, GTK_TYPE_VBOX) +G_DEFINE_TYPE (EvPropertiesLicense, ev_properties_license, GTK_TYPE_BOX) static void ev_properties_license_class_init (EvPropertiesLicenseClass *properties_license_class) @@ -154,6 +154,7 @@ ev_properties_license_set_license (EvPropertiesLicense *properties, static void ev_properties_license_init (EvPropertiesLicense *properties) { + gtk_orientable_set_orientation (GTK_ORIENTABLE (properties), GTK_ORIENTATION_VERTICAL); gtk_box_set_spacing (GTK_BOX (properties), 12); gtk_container_set_border_width (GTK_CONTAINER (properties), 12); } |