[gnome-settings-daemon] RANDR - Oops, type 'x' in d-bus means gint64, not long
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-settings-daemon] RANDR - Oops, type 'x' in d-bus means gint64, not long
- Date: Mon, 8 Jun 2009 20:54:20 -0400 (EDT)
commit bf9b4b5266535a8ccbfb15959ae3bc4216d52f4f
Author: Federico Mena Quintero <federico novell com>
Date: Sat May 30 17:31:33 2009 -0500
RANDR - Oops, type 'x' in d-bus means gint64, not long
The callback signature for the DBus method was wrong, so we always seemed to get
a NULL GError argument --- which was, in fact, garbage from a 64-bit value.
Signed-off-by: Federico Mena Quintero <federico novell com>
---
plugins/xrandr/gsd-xrandr-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index f276316..262fcd4 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -333,15 +333,15 @@ gsd_xrandr_manager_apply_configuration (GsdXrandrManager *manager,
/* DBus method for org.gnome.SettingsDaemon.XRANDR_2 ApplyConfiguration; see gsd-xrandr-manager.xml for the interface definition */
static gboolean
gsd_xrandr_manager_2_apply_configuration (GsdXrandrManager *manager,
- long parent_window_id,
- long timestamp,
+ gint64 parent_window_id,
+ gint64 timestamp,
GError **error)
{
GdkWindow *parent_window;
gboolean result;
if (parent_window_id != 0)
- parent_window = gdk_window_foreign_new_for_display (gdk_display_get_default (), parent_window_id);
+ parent_window = gdk_window_foreign_new_for_display (gdk_display_get_default (), (GdkNativeWindow) parent_window_id);
else
parent_window = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]