forked from AuroraMiddleware/gtk
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:
parent
be6ec8f50b
commit
dbd2a81501
@ -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"/>
|
||||
|
@ -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">
|
||||
|
@ -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[] =
|
||||
|
Loading…
Reference in New Issue
Block a user