[gtk/wip/chergert/for-macos-1: 3/3] macos: fix incorrect signal disconnect




commit 8f0b9bf5ae3e283a5145af30aa4433af4decc821
Author: Christian Hergert <christian hergert me>
Date:   Wed Feb 16 01:46:25 2022 -0800

    macos: fix incorrect signal disconnect

 gdk/macos/gdkmacossurface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index c5cf05edf8..b28fb27083 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -385,7 +385,7 @@ gdk_macos_surface_destroy (GdkSurface *surface,
                                             G_CALLBACK (gdk_macos_surface_before_paint),
                                             self);
       g_signal_handlers_disconnect_by_func (frame_clock,
-                                            G_CALLBACK (gdk_macos_surface_before_paint),
+                                            G_CALLBACK (gdk_macos_surface_after_paint),
                                             self);
     }
 


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