summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/xwindowlistener/xwindowlistener.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/xwindowlistener/xwindowlistener.c')
-rw-r--r--gst-libs/gst/xwindowlistener/xwindowlistener.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c
index 513e029d..dda220c0 100644
--- a/gst-libs/gst/xwindowlistener/xwindowlistener.c
+++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c
@@ -637,17 +637,20 @@ gst_xwin_stop (GstXWindowListener *xwin)
*/
static gboolean
-plugin_init (GModule *module,
- GstPlugin *plugin)
+plugin_init (GstPlugin *plugin)
{
- gst_plugin_set_longname (plugin,
- "X11-based XWindow event/motion listener");
return TRUE;
}
-GstPluginDesc plugin_desc = {
+GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"xwindowlistener",
- plugin_init
-};
+ "X11-based XWindow event/motion listener",
+ plugin_init,
+ VERSION,
+ GST_LICENSE,
+ GST_COPYRIGHT,
+ GST_PACKAGE,
+ GST_ORIGIN
+)