summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/xwindowlistener/xwindowlistener.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-04-19 22:51:57 +0000
committerDavid Schleef <ds@schleef.org>2004-04-19 22:51:57 +0000
commit6ddd15c7447e6d5d2178d648f579393a2a595b99 (patch)
tree78884a023f850f1d9ea5d49a5bf6478a386c2273 /gst-libs/gst/xwindowlistener/xwindowlistener.c
parent421f84998ef4c40d938c60ee5f38f5a6d152a305 (diff)
downloadgst-plugins-bad-6ddd15c7447e6d5d2178d648f579393a2a595b99.tar.gz
gst-plugins-bad-6ddd15c7447e6d5d2178d648f579393a2a595b99.tar.bz2
gst-plugins-bad-6ddd15c7447e6d5d2178d648f579393a2a595b99.zip
gconf/Makefile.am: Fix for non-GNU make
Original commit message from CVS: * gconf/Makefile.am: Fix for non-GNU make * gst-libs/gst/Makefile.am: Change directory order to handle GstPlay linking with gstinterfaces * gst-libs/gst/audio/make_filter: make use of tr portable * gst-libs/gst/play/Makefile.am: Add intended \ * gst-libs/gst/xwindowlistener/xwindowlistener.c: (gst_xwin_set_clips): Switch to ISO variadic macro. Use a function prototype instead of void *. * gst/ffmpegcolorspace/gstffmpegcodecmap.c: Switch to ISO variadic macro. * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcolorspace_chain): wrap NULL in GST_ELEMENT_ERROR call * gst/videofilter/make_filter: make use of tr portable * pkgconfig/Makefile.am: Remove GNU extension in Makefile target
Diffstat (limited to 'gst-libs/gst/xwindowlistener/xwindowlistener.c')
-rw-r--r--gst-libs/gst/xwindowlistener/xwindowlistener.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c
index 63cfdd2d..9963535c 100644
--- a/gst-libs/gst/xwindowlistener/xwindowlistener.c
+++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c
@@ -153,8 +153,8 @@ gst_x_window_listener_set_xid (GstXWindowListener * xwin, XID id)
* <kraxel@bytesex.org>, it was relicensed to LGPL.
*/
-#define DEBUG(format, args...) \
- GST_DEBUG ("XWL: " format, ##args)
+#define DEBUG(...) \
+ GST_DEBUG ("XWL: " __VA_ARGS__)
static void
gst_xwin_set_overlay (GstXWindowListener * xwin, gboolean on)
@@ -232,7 +232,7 @@ gst_xwin_set_clips (GstXWindowListener * xwin)
guint numkids;
gint i;
gint x1, y1, w1, h1;
- void *old_handler;
+ XErrorHandler old_handler;
old_handler = XSetErrorHandler (x11_error_dev_null);