summaryrefslogtreecommitdiff
path: root/shell/ev-properties-license.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-license.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-license.c')
-rw-r--r--shell/ev-properties-license.c7
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);
}