[totem] Fix two more occurrences of GDK_DISPLAY
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix two more occurrences of GDK_DISPLAY
- Date: Thu, 16 Sep 2010 00:19:21 +0000 (UTC)
commit 3ea791dd742ec8ac7fff96eb8bbad771065589ff
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Sep 16 01:18:28 2010 +0100
Fix two more occurrences of GDK_DISPLAY
Closes: bgo#629758
.../bacon-video-widget-gst-missing-plugins.c | 2 +-
src/totem-interface.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c b/src/backend/bacon-video-widget-gst-missing-plugins.c
index e762de3..0c0d3ef 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -71,7 +71,7 @@ bacon_video_widget_gtk_plug_get_toplevel (GtkPlug *plug)
do
{
/* FIXME: multi-head */
- if (XQueryTree (GDK_DISPLAY (), xid, &root,
+ if (XQueryTree (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xid, &root,
&parent, &children, &nchildren) == 0)
{
g_warning ("Couldn't find window manager window");
diff --git a/src/totem-interface.c b/src/totem-interface.c
index 6ea6c0a..f60a1bb 100644
--- a/src/totem-interface.c
+++ b/src/totem-interface.c
@@ -272,7 +272,7 @@ totem_gtk_plug_get_toplevel (GtkPlug *plug)
do
{
/* FIXME: multi-head */
- if (XQueryTree (GDK_DISPLAY (), xid, &root,
+ if (XQueryTree (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xid, &root,
&parent, &children, &nchildren) == 0)
{
g_warning ("Couldn't find window manager window");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]