diff options
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/about-me/e-image-chooser.c | 4 | ||||
-rw-r--r-- | capplets/about-me/e-image-chooser.h | 4 |
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); |