Merge branch 'widget-factory-fixes' into 'master'

Widget factory fixes

See merge request GNOME/gtk!1267
This commit is contained in:
Matthias Clasen 2019-12-24 15:08:15 +00:00
commit f1bb6ef658
2 changed files with 6 additions and 1 deletions

View File

@ -1500,6 +1500,10 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="valign">center</property>
<property name="value">.5</property>
<property name="halign">center</property>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</layout>
</object>
</child>
<child>
@ -1515,6 +1519,7 @@ microphone-sensitivity-medium-symbolic</property>
<signal name="query-tooltip" handler="on_scale_button_query_tooltip" swapped="no"/>
<signal name="value-changed" handler="on_scale_button_value_changed" swapped="no"/>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</layout>
</object>

View File

@ -8177,7 +8177,7 @@ gtk_tree_view_put (GtkTreeView *tree_view,
gtk_css_node_insert_after (gtk_widget_get_css_node (GTK_WIDGET (tree_view)),
gtk_widget_get_css_node (child_widget),
tree_view->priv->header_node);
tree_view->header_node);
gtk_widget_set_parent (child_widget, GTK_WIDGET (tree_view));
}