diff options
author | Benjamin Otte <otte@gnome.org> | 2004-03-12 21:43:25 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2004-03-12 21:43:25 +0000 |
commit | 10575d1a7e4abd08d6b7d628c742ce2cb6d3d213 (patch) | |
tree | 24894a2a310ac2ecdb8d463e47dbcf466ede4292 /gst-libs/gst/xoverlay/xoverlay.h | |
parent | b8c127e159eee26c2ad61b03455ccaf3ce781ed2 (diff) | |
download | gst-plugins-bad-10575d1a7e4abd08d6b7d628c742ce2cb6d3d213.tar.gz gst-plugins-bad-10575d1a7e4abd08d6b7d628c742ce2cb6d3d213.tar.bz2 gst-plugins-bad-10575d1a7e4abd08d6b7d628c742ce2cb6d3d213.zip |
gst-libs/gst/xoverlay/xoverlay.*: replace XID with unsigned long to get rid of the xlibs dependency in
Original commit message from CVS:
* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_set_xwindow_id),
(gst_x_overlay_got_xwindow_id):
* gst-libs/gst/xoverlay/xoverlay.h:
replace XID with unsigned long to get rid of the xlibs dependency in
XOverlay (fixes #137004)
Diffstat (limited to 'gst-libs/gst/xoverlay/xoverlay.h')
-rw-r--r-- | gst-libs/gst/xoverlay/xoverlay.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gst-libs/gst/xoverlay/xoverlay.h b/gst-libs/gst/xoverlay/xoverlay.h index d92dc5ff..5318fef3 100644 --- a/gst-libs/gst/xoverlay/xoverlay.h +++ b/gst-libs/gst/xoverlay/xoverlay.h @@ -24,7 +24,6 @@ #define __GST_X_OVERLAY_H__ #include <gst/gst.h> -#include <X11/Xlib.h> G_BEGIN_DECLS @@ -49,7 +48,7 @@ typedef struct _GstXOverlayClass { /* virtual functions */ void (* set_xwindow_id) (GstXOverlay *overlay, - XID xwindow_id); + gulong xwindow_id); /* optional virtual functions */ void (* get_desired_size) (GstXOverlay *overlay, guint *width, @@ -58,7 +57,7 @@ typedef struct _GstXOverlayClass { /* signals */ void (*have_xwindow_id) (GstXOverlay *overlay, - XID xwindow_id); + gulong xwindow_id); void (* desired_size) (GstXOverlay *overlay, guint width, guint height); @@ -69,12 +68,12 @@ typedef struct _GstXOverlayClass { GType gst_x_overlay_get_type (void); /* virtual class function wrappers */ -void gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, XID xwindow_id); +void gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, gulong xwindow_id); void gst_x_overlay_get_desired_size (GstXOverlay *overlay, guint *width, guint *height); void gst_x_overlay_expose (GstXOverlay *overlay); /* public methods to fire signals */ -void gst_x_overlay_got_xwindow_id (GstXOverlay *overlay, XID xwindow_id); +void gst_x_overlay_got_xwindow_id (GstXOverlay *overlay, gulong xwindow_id); void gst_x_overlay_got_desired_size (GstXOverlay *overlay, guint width, guint height); G_END_DECLS |