[gtk/wip/baedert/box2: 33/33] window: Fix state_flags_changed impl name



commit a2c3cd1e764a7c1c6804ba2398e1a940a95afe79
Author: Timm Bäder <mail baedert org>
Date:   Sun Dec 30 06:08:55 2018 +0100

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]