summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2019-07-08 15:52:28 +1200
committerRobert Ancell <robert.ancell@canonical.com>2019-07-08 15:52:28 +1200
commitdbd2a815019f8493ef2b15f3ef45d6e41606df79 (patch)
treed77867d836a604ee5889f0497b17125b3afccbf1 /gtk/gtkwidget.c
parentbe6ec8f50b901b9a7c4731250e016048e26db1e7 (diff)
downloadgtk+-dbd2a815019f8493ef2b15f3ef45d6e41606df79.tar.gz
Change the few examples that use a full GTK_ enum value in .ui files.
Lowercase versions work just as well and are much more readable.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 42ba750375..db3b4c3e94 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -365,7 +365,7 @@
* |[
* <interface>
* <template class="FooWidget" parent="GtkBox">
- * <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
+ * <property name="orientation">horizontal</property>
* <property name="spacing">4</property>
* <child>
* <object class="GtkButton" id="hello_button">