mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Merge branch 'matthiasc/for-master' into 'master'
builder-tool: Translate GtkImage:pixbuf See merge request GNOME/gtk!3126
This commit is contained in:
commit
9e539a7f59
@ -719,7 +719,8 @@ maybe_rename_property (Element *element, MyParserData *data)
|
||||
{ "GtkWidget", "margin-right", GTK_TYPE_WIDGET, PROP_KIND_OBJECT, "margin-end", { NULL, NULL, NULL } },
|
||||
{ "GtkHeaderBar", "show-close-button", GTK_TYPE_HEADER_BAR, PROP_KIND_OBJECT, "show-title-buttons", { NULL, NULL, NULL } },
|
||||
{ "GtkHeaderBar", "custom-title", GTK_TYPE_HEADER_BAR, PROP_KIND_OBJECT, "title-widget", { NULL, NULL, NULL } },
|
||||
{ "GtkStack", "homogeneous", GTK_TYPE_STACK, PROP_KIND_OBJECT, "hhomogeneous", { "vhomogeneous", NULL, NULL } }
|
||||
{ "GtkStack", "homogeneous", GTK_TYPE_STACK, PROP_KIND_OBJECT, "hhomogeneous", { "vhomogeneous", NULL, NULL } },
|
||||
{ "GtkImage", "pixbuf", GTK_TYPE_IMAGE, PROP_KIND_OBJECT, "file", { NULL, NULL, NULL } },
|
||||
};
|
||||
int i, k, l;
|
||||
PropKind kind;
|
||||
|
12
testsuite/tools/simplify-data-3to4/image.expected
Normal file
12
testsuite/tools/simplify-data-3to4/image.expected
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<object class="GtkWindow">
|
||||
<property name="child">
|
||||
<object class="GtkImage">
|
||||
<property name="visible">0</property>
|
||||
<property name="file">test.svg</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</interface>
|
10
testsuite/tools/simplify-data-3to4/image.ui
Normal file
10
testsuite/tools/simplify-data-3to4/image.ui
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow">
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="pixbuf">test.svg</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user