forked from AuroraMiddleware/gtk
Fix the build
This commit is contained in:
parent
f1b7560938
commit
e440050134
@ -4566,10 +4566,10 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook,
|
|||||||
gint nchildren;
|
gint nchildren;
|
||||||
GList *list;
|
GList *list;
|
||||||
GQuark tab_pos_names[] = {
|
GQuark tab_pos_names[] = {
|
||||||
I_(GTK_STYLE_CLASS_LEFT),
|
g_quark_from_static_string (GTK_STYLE_CLASS_LEFT),
|
||||||
I_(GTK_STYLE_CLASS_RIGHT),
|
g_quark_from_static_string (GTK_STYLE_CLASS_RIGHT),
|
||||||
I_(GTK_STYLE_CLASS_TOP),
|
g_quark_from_static_string (GTK_STYLE_CLASS_TOP),
|
||||||
I_(GTK_STYLE_CLASS_BOTTOM)
|
g_quark_from_static_string (GTK_STYLE_CLASS_BOTTOM)
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk_widget_freeze_child_notify (child);
|
gtk_widget_freeze_child_notify (child);
|
||||||
@ -7362,7 +7362,6 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
|
|||||||
{
|
{
|
||||||
GtkNotebookPrivate *priv;
|
GtkNotebookPrivate *priv;
|
||||||
GtkNotebookPage *page;
|
GtkNotebookPage *page;
|
||||||
GtkStyleContext *context;
|
|
||||||
GList *children;
|
GList *children;
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
@ -7377,7 +7376,6 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
|
|||||||
|
|
||||||
priv->show_tabs = show_tabs;
|
priv->show_tabs = show_tabs;
|
||||||
children = priv->children;
|
children = priv->children;
|
||||||
context = gtk_widget_get_style_context (GTK_WIDGET (notebook));
|
|
||||||
|
|
||||||
if (!show_tabs)
|
if (!show_tabs)
|
||||||
{
|
{
|
||||||
@ -8247,9 +8245,9 @@ gtk_notebook_set_tab_reorderable (GtkNotebook *notebook,
|
|||||||
{
|
{
|
||||||
page->reorderable = reorderable;
|
page->reorderable = reorderable;
|
||||||
if (reorderable)
|
if (reorderable)
|
||||||
gtk_css_node_add_class (page->cssnode, I_("reorderable-page"));
|
gtk_css_node_add_class (page->cssnode, g_quark_from_static_string ("reorderable-page"));
|
||||||
else
|
else
|
||||||
gtk_css_node_remove_class (page->cssnode, I_("reorderable-page"));
|
gtk_css_node_remove_class (page->cssnode, g_quark_from_static_string ("reorderable-page"));
|
||||||
gtk_widget_child_notify (child, "reorderable");
|
gtk_widget_child_notify (child, "reorderable");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user