Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make skeltrack_skeleton_new return a real SkeltrackSkeleton

It was returning a GObject.
  • Loading branch information...
commit ee2875dc750e5faffb46199b668745fcd4e699a7 1 parent 5438470
@joaquimrocha authored
View
2  skeltrack/skeltrack-skeleton.c
@@ -1797,7 +1797,7 @@ track_joints_in_thread (GSimpleAsyncResult *res,
*
* Returns: (transfer full): The newly created #SkeltrackSkeleton.
*/
-GObject *
+SkeltrackSkeleton *
skeltrack_skeleton_new (void)
{
return g_object_new (SKELTRACK_TYPE_SKELETON, NULL);
View
2  skeltrack/skeltrack-skeleton.h
@@ -59,7 +59,7 @@ struct _SkeltrackSkeletonClass
GType skeltrack_skeleton_get_type (void) G_GNUC_CONST;
-GObject * skeltrack_skeleton_new (void);
+SkeltrackSkeleton * skeltrack_skeleton_new (void);
void skeltrack_skeleton_track_joints (SkeltrackSkeleton *self,
guint16 *buffer,
Please sign in to comment.
Something went wrong with that request. Please try again.