#include "gtkrecentchooserwidget.h"
#include "gtkrecentchooserdefault.h"
#include "gtkrecentchooserutils.h"
+#include "gtkorientable.h"
#include "gtktypebuiltins.h"
/**
G_DEFINE_TYPE_WITH_CODE (GtkRecentChooserWidget,
gtk_recent_chooser_widget,
- GTK_TYPE_VBOX,
+ GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GTK_TYPE_RECENT_CHOOSER,
_gtk_recent_chooser_delegate_iface_init))
gtk_recent_chooser_widget_init (GtkRecentChooserWidget *widget)
{
widget->priv = G_TYPE_INSTANCE_GET_PRIVATE (widget, GTK_TYPE_RECENT_CHOOSER_WIDGET,
- GtkRecentChooserWidgetPrivate);
+ GtkRecentChooserWidgetPrivate);
+
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (widget),
+ GTK_ORIENTATION_VERTICAL);
}
static GObject *
#define __GTK_RECENT_CHOOSER_WIDGET_H__
#include <gtk/gtkrecentchooser.h>
-#include <gtk/gtkvbox.h>
+#include <gtk/gtkbox.h>
G_BEGIN_DECLS
struct _GtkRecentChooserWidget
{
- GtkVBox parent_instance;
+ GtkBox parent_instance;
/*< private >*/
GtkRecentChooserWidgetPrivate *priv;
struct _GtkRecentChooserWidgetClass
{
- GtkVBoxClass parent_class;
+ GtkBoxClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);