summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-06-25 16:57:13 +0200
committerAlexander Larsson <alexl@redhat.com>2009-06-25 17:04:18 +0200
commit794f2815de159c27e97d86d70f834636565a5b89 (patch)
tree25c472420fe0b062eee42e5ab8a59ef11b49d238
parentcf1c6bc2ed9a2d4471102d41877938573ba2da3e (diff)
downloadgtk+-794f2815de159c27e97d86d70f834636565a5b89.tar.gz
Fix g_signal_emit calls
The switch to g_signal_emit was all messed up, I forgot to add signals[] around the signal enum and did not pass in the detail quark.
-rw-r--r--gdk/gdkwindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index b35c1b9a75..aa10712621 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -7874,7 +7874,7 @@ from_parent (GdkWindowObject *window,
double *offscreen_x, double *offscreen_y)
{
g_signal_emit (window,
- FROM_PARENT,
+ signals[FROM_PARENT], 0,
parent_x, parent_y,
offscreen_x, offscreen_y,
NULL);
@@ -7979,7 +7979,7 @@ pick_offscreen_child (GdkWindowObject *window,
res = NULL;
g_signal_emit (window,
- PICK_OFFSCREEN_CHILD,
+ signals[PICK_OFFSCREEN_CHILD], 0,
x, y, &res);
return res;
@@ -8602,7 +8602,7 @@ gdk_window_get_offscreen_parent (GdkWindow *window)
res = NULL;
g_signal_emit (private->impl_window,
- GET_OFFSCREEN_PARENT,
+ signals[GET_OFFSCREEN_PARENT], 0,
&res);
return res;