[gnome-settings-daemon] gsd-remote-display-manager.c: fix typo
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] gsd-remote-display-manager.c: fix typo
- Date: Sat, 16 Feb 2013 04:56:58 +0000 (UTC)
commit 4370e164543658b830dfe16b7ebdfb61d0f4c18f
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Feb 15 23:51:12 2013 -0500
gsd-remote-display-manager.c: fix typo
gdk_x11_get_default_display() should have been
gdk_x11_get_default_xdisplay(). An include of gdkx.h is also needed.
.../remote-display/gsd-remote-display-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/remote-display/gsd-remote-display-manager.c
b/plugins/remote-display/gsd-remote-display-manager.c
index adecee9..031c5d1 100644
--- a/plugins/remote-display/gsd-remote-display-manager.c
+++ b/plugins/remote-display/gsd-remote-display-manager.c
@@ -33,6 +33,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdk.h>
+#include <gdk/gdkx.h>
#include "gnome-settings-session.h"
#include "gnome-settings-profile.h"
@@ -153,7 +154,7 @@ gsd_display_has_extension (const gchar *ext)
{
int op, event, error;
- return XQueryExtension (gdk_x11_get_default_display (),
+ return XQueryExtension (gdk_x11_get_default_xdisplay (),
ext, &op, &event, &error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]