summaryrefslogtreecommitdiff
path: root/capplets/about-me
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-20 15:11:43 +0300
committermonsta <[email protected]>2016-01-20 15:11:43 +0300
commit6b337edf80447dacfc7e05bb120c9eff30d05e3a (patch)
tree91d83c349d52b1f87c15a41f018a29bb91fb1317 /capplets/about-me
parentf0450bb4001a9d37025578b7933b552cb07b27f6 (diff)
downloadmate-control-center-6b337edf80447dacfc7e05bb120c9eff30d05e3a.tar.bz2
mate-control-center-6b337edf80447dacfc7e05bb120c9eff30d05e3a.tar.xz
about-me: use GtkBox instead of GtkVBox in both GTK+ builds
Diffstat (limited to 'capplets/about-me')
-rw-r--r--capplets/about-me/e-image-chooser.c4
-rw-r--r--capplets/about-me/e-image-chooser.h4
2 files changed, 4 insertions, 4 deletions
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);