From 6b337edf80447dacfc7e05bb120c9eff30d05e3a Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Jan 2016 15:11:43 +0300 Subject: about-me: use GtkBox instead of GtkVBox in both GTK+ builds --- capplets/about-me/e-image-chooser.c | 4 ++-- capplets/about-me/e-image-chooser.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'capplets') diff --git a/capplets/about-me/e-image-chooser.c b/capplets/about-me/e-image-chooser.c index 3c1e7f71..56874b53 100644 --- a/capplets/about-me/e-image-chooser.c +++ b/capplets/about-me/e-image-chooser.c @@ -67,7 +67,7 @@ static void image_drag_data_received_cb (GtkWidget *widget, guint info, guint time, EImageChooser *chooser); static GObjectClass *parent_class = NULL; -#define PARENT_TYPE GTK_TYPE_VBOX +#define PARENT_TYPE GTK_TYPE_BOX enum DndTargetType { DND_TARGET_TYPE_URI_LIST @@ -82,7 +82,7 @@ static const int num_image_drag_types = sizeof (image_drag_types) / sizeof (imag GtkWidget * e_image_chooser_new (void) { - return g_object_new (E_TYPE_IMAGE_CHOOSER, NULL); + return g_object_new (E_TYPE_IMAGE_CHOOSER, "orientation", GTK_ORIENTATION_VERTICAL, NULL); } GType diff --git a/capplets/about-me/e-image-chooser.h b/capplets/about-me/e-image-chooser.h index 2df53646..5d034630 100644 --- a/capplets/about-me/e-image-chooser.h +++ b/capplets/about-me/e-image-chooser.h @@ -39,14 +39,14 @@ typedef struct _EImageChooserPrivate EImageChooserPrivate; struct _EImageChooser { - GtkVBox parent; + GtkBox parent; EImageChooserPrivate *priv; }; struct _EImageChooserClass { - GtkVBoxClass parent_class; + GtkBoxClass parent_class; /* signals */ void (*changed) (EImageChooser *chooser); -- cgit v1.2.1