summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
committerAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
commit63e060a21de336ec49b1de02c74359842d9034c5 (patch)
tree2efb29d70bff6cb5d0a9ca6825ea8aac50566242 /gtk/gtknotebook.c
parent3dce0dcca705c4ab6d8c4f5067db93947184b6af (diff)
downloadgtk+-63e060a21de336ec49b1de02c74359842d9034c5.tar.gz
GtkWidget: Start renaming widget->window
This is an automated change doing these command: git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface git sed -f g gtk_widget_set_window gtk_widget_set_surface git sed -f g gtk_widget_get_window gtk_widget_get_surface git sed -f g gtk_widget_register_window gtk_widget_register_surface git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface git checkout NEWS*
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index f66724de3f..96533a2b89 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1046,7 +1046,7 @@ gtk_notebook_init (GtkNotebook *notebook)
GdkContentFormats *targets;
gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
- gtk_widget_set_has_window (GTK_WIDGET (notebook), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (notebook), FALSE);
notebook->priv = gtk_notebook_get_instance_private (notebook);
priv = notebook->priv;
@@ -4171,7 +4171,7 @@ gtk_notebook_remove_tab_label (GtkNotebook *notebook,
page->mnemonic_activate_signal);
page->mnemonic_activate_signal = 0;
- if (gtk_widget_get_window (page->tab_label) != gtk_widget_get_window (GTK_WIDGET (notebook)) ||
+ if (gtk_widget_get_surface (page->tab_label) != gtk_widget_get_surface (GTK_WIDGET (notebook)) ||
!NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page))
{
GtkWidget *parent;