context: defing a GType for the context
authorWim Taymans <wim.taymans@gmail.com>
Tue, 12 Nov 2013 10:21:55 +0000 (11:21 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 12 Nov 2013 10:21:55 +0000 (11:21 +0100)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710018

gst/rtsp-server/rtsp-context.c
gst/rtsp-server/rtsp-context.h

index 817207d..919ca2d 100644 (file)
 
 #include "rtsp-context.h"
 
+G_DEFINE_POINTER_TYPE (GstRTSPContext, gst_rtsp_context);
+
 static GPrivate current_context;
 
 /**
- * gst_rtsp_context_get_current: (skip)
+ * gst_rtsp_context_get_current:
  *
  * Get the current #GstRTSPContext. This object is retrieved from the
  * current thread that is handling the request for a client.
index 60ff030..a43563f 100644 (file)
@@ -71,6 +71,8 @@ struct _GstRTSPContext {
   GstRTSPMessage      *response;
 };
 
+GType gst_rtsp_context_get_type (void);
+
 GstRTSPContext *     gst_rtsp_context_get_current   (void);
 void                 gst_rtsp_context_push_current  (GstRTSPContext * ctx);
 void                 gst_rtsp_context_pop_current   (GstRTSPContext * ctx);