[gtk+/client-side-windows] Fix g_signal_emit calls
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows] Fix g_signal_emit calls
- Date: Thu, 25 Jun 2009 15:07:11 +0000 (UTC)
commit 794f2815de159c27e97d86d70f834636565a5b89
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jun 25 16:57:13 2009 +0200
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.
gdk/gdkwindow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index b35c1b9..aa10712 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]