From 66d3aa810128bf55b17f9da9015288c282c64f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 30 Dec 2018 06:08:55 +0100 Subject: [PATCH] window: Fix state_flags_changed impl name This is unrelated to GdkSurface and was changed by accident. --- gtk/gtkwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 339b0e6f89..dd77d35665 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -518,7 +518,7 @@ static void gtk_window_set_theme_variant (GtkWindow *window); static void gtk_window_do_popup (GtkWindow *window, GdkEventButton *event); static void gtk_window_style_updated (GtkWidget *widget); -static void gtk_surface_state_flags_changed (GtkWidget *widget, +static void gtk_window_state_flags_changed (GtkWidget *widget, GtkStateFlags previous_state); static GListStore *toplevel_list = NULL; @@ -807,7 +807,7 @@ gtk_window_class_init (GtkWindowClass *klass) widget_class->focus = gtk_window_focus; widget_class->move_focus = gtk_window_move_focus; widget_class->measure = gtk_window_measure; - widget_class->state_flags_changed = gtk_surface_state_flags_changed; + widget_class->state_flags_changed = gtk_window_state_flags_changed; widget_class->style_updated = gtk_window_style_updated; widget_class->snapshot = gtk_window_snapshot; widget_class->pick = gtk_window_pick; @@ -7849,8 +7849,8 @@ gtk_window_real_set_focus (GtkWindow *window, } static void -gtk_surface_state_flags_changed (GtkWidget *widget, - GtkStateFlags previous_state) +gtk_window_state_flags_changed (GtkWidget *widget, + GtkStateFlags previous_state) { GtkWindow *window = GTK_WINDOW (widget); GtkWindowPrivate *priv = gtk_window_get_instance_private (window);