[gtk/child-props-followup: 2/3] print dialog: Rewrite example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/child-props-followup: 2/3] print dialog: Rewrite example
- Date: Fri, 5 Apr 2019 18:42:54 +0000 (UTC)
commit 5c8a8705104dbb59d3ab73c6184c2ce6179e6818
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 5 18:38:00 2019 +0000
print dialog: Rewrite example
The ui file example was still using GTK3 syntax
for GtkNotebooks.
gtk/gtkprintunixdialog.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 7f4dacc512..267b3dbe5a 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -93,18 +93,20 @@
* <child internal-child="notebook">
* <object class="GtkNotebook" id="notebook">
* <child>
- * <object class="GtkLabel" id="tabcontent">
- * <property name="label">Content on notebook tab</property>
- * </object>
- * </child>
- * <child type="tab">
- * <object class="GtkLabel" id="tablabel">
- * <property name="label">Tab label</property>
- * </object>
- * <packing>
+ * <object type="GtkNotebookPage">
* <property name="tab_expand">False</property>
* <property name="tab_fill">False</property>
- * </packing>
+ * <property name="tab">
+ * <object class="GtkLabel" id="tablabel">
+ * <property name="label">Tab label</property>
+ * </object>
+ * </property>
+ * <property name="child">
+ * <object class="GtkLabel" id="tabcontent">
+ * <property name="label">Content on notebook tab</property>
+ * </object>
+ * </property>
+ * </object>
* </child>
* </object>
* </child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]