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.
This commit is contained in:
Alexander Larsson 2009-06-25 16:57:13 +02:00
parent cf1c6bc2ed
commit 794f2815de

View File

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