1 From a790bc42e0fdaf73fbc7561f7497e5b1fbdc1f81 Mon Sep 17 00:00:00 2001
2 From: Michael Natterer <mitch@gimp.org>
3 Date: Fri, 22 Feb 2013 11:05:17 +0100
4 Subject: [PATCH 39/68] gdk: add a "move-native-children" signal to GdkWindow
6 and emit it from move_native_children(), so GtkNSView has
7 a chance to do the right thing on scrolling.
9 gdk/gdkwindow.c | 12 ++++++++++++
10 1 file changed, 12 insertions(+)
12 diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
13 index a6b582c..3040321 100644
16 @@ -127,6 +127,7 @@ enum {
20 + MOVE_NATIVE_CHILDREN,
24 @@ -609,6 +610,15 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
28 + signals[MOVE_NATIVE_CHILDREN] =
29 + g_signal_new (g_intern_static_string ("move-native-children"),
30 + G_OBJECT_CLASS_TYPE (object_class),
34 + g_cclosure_marshal_VOID__VOID,
40 @@ -7474,6 +7484,8 @@ move_native_children (GdkWindowObject *private)
42 move_native_children (child);
45 + g_signal_emit_by_name (private, "move-native-children");
50 1.7.10.2 (Apple Git-33)