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.
This commit is contained in:
Robert Ancell 2019-07-08 15:52:28 +12:00
parent be6ec8f50b
commit dbd2a81501
3 changed files with 7 additions and 7 deletions

View File

@ -93,7 +93,7 @@
* An example of a UI definition fragment with GtkSizeGroup:
* |[
* <object class="GtkSizeGroup">
* <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
* <property name="mode">horizontal</property>
* <widgets>
* <widget name="radio1"/>
* <widget name="radio2"/>

View File

@ -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">

View File

@ -360,7 +360,7 @@ test_sizegroup (void)
const gchar buffer1[] =
"<interface domain=\"test\">"
" <object class=\"GtkSizeGroup\" id=\"sizegroup1\">"
" <property name=\"mode\">GTK_SIZE_GROUP_HORIZONTAL</property>"
" <property name=\"mode\">horizontal</property>"
" <widgets>"
" <widget name=\"radio1\"/>"
" <widget name=\"radio2\"/>"
@ -383,7 +383,7 @@ test_sizegroup (void)
const gchar buffer2[] =
"<interface domain=\"test\">"
" <object class=\"GtkSizeGroup\" id=\"sizegroup1\">"
" <property name=\"mode\">GTK_SIZE_GROUP_HORIZONTAL</property>"
" <property name=\"mode\">horizontal</property>"
" <widgets>"
" </widgets>"
" </object>"
@ -391,14 +391,14 @@ test_sizegroup (void)
const gchar buffer3[] =
"<interface domain=\"test\">"
" <object class=\"GtkSizeGroup\" id=\"sizegroup1\">"
" <property name=\"mode\">GTK_SIZE_GROUP_HORIZONTAL</property>"
" <property name=\"mode\">horizontal</property>"
" <widgets>"
" <widget name=\"radio1\"/>"
" <widget name=\"radio2\"/>"
" </widgets>"
" </object>"
" <object class=\"GtkSizeGroup\" id=\"sizegroup2\">"
" <property name=\"mode\">GTK_SIZE_GROUP_HORIZONTAL</property>"
" <property name=\"mode\">horizontal</property>"
" <widgets>"
" <widget name=\"radio1\"/>"
" <widget name=\"radio2\"/>"
@ -833,7 +833,7 @@ test_construct_only_property (void)
const gchar buffer[] =
"<interface>"
" <object class=\"GtkWindow\" id=\"window1\">"
" <property name=\"type\">GTK_WINDOW_POPUP</property>"
" <property name=\"type\">popup</property>"
" </object>"
"</interface>";
const gchar buffer2[] =