X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkrecentchooserwidget.c;h=64f6df660f89247ad204b61cb0fe40f5baa13203;hb=b2340254109d8599244c875fe7bc5e234f64da08;hp=cc05491c945414d52056c0e42ec8b4208cc51bff;hpb=0a07e9733bb259598a09515a3e4cdbcda5feef57;p=~andy%2Fgtk diff --git a/gtk/gtkrecentchooserwidget.c b/gtk/gtkrecentchooserwidget.c index cc05491c9..64f6df660 100644 --- a/gtk/gtkrecentchooserwidget.c +++ b/gtk/gtkrecentchooserwidget.c @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #include "config.h" @@ -23,6 +21,7 @@ #include "gtkrecentchooserwidget.h" #include "gtkrecentchooserdefault.h" #include "gtkrecentchooserutils.h" +#include "gtkorientable.h" #include "gtktypebuiltins.h" /** @@ -68,7 +67,7 @@ static void gtk_recent_chooser_widget_finalize (GObject *o 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)) @@ -92,7 +91,10 @@ static void 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 *