[gtk/wip/otte/listview] xxx: coverflow
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listview] xxx: coverflow
- Date: Tue, 29 Oct 2019 06:05:40 +0000 (UTC)
commit 484101071e14edce443066bdb82dac5f9551e4b1
Author: Benjamin Otte <otte redhat com>
Date: Tue Oct 29 06:35:32 2019 +0100
xxx: coverflow
gtk/gtkcoverflow.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/gtkcoverflow.c b/gtk/gtkcoverflow.c
index 295a73ff34..1e0915973e 100644
--- a/gtk/gtkcoverflow.c
+++ b/gtk/gtkcoverflow.c
@@ -24,6 +24,7 @@
#include "gtkintl.h"
#include "gtklistbaseprivate.h"
#include "gtkmain.h"
+#include "gtkorientable.h"
#include "gtkprivate.h"
#include "gtkrbtreeprivate.h"
#include "gtkwidgetprivate.h"
@@ -564,6 +565,9 @@ gtk_cover_flow_init (GtkCoverFlow *self)
gtk_list_base_set_anchor_max_widgets (GTK_LIST_BASE (self),
0,
GTK_COVER_FLOW_DISPLAY_ITEMS);
+
+ /* FIXME: this should overwrite the property default, but gobject properties... */
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_HORIZONTAL);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]