Skip to content
Browse files

Make skeltrack_skeleton_new return a real SkeltrackSkeleton

It was returning a GObject.
  • Loading branch information...
1 parent 5438470 commit ee2875dc750e5faffb46199b668745fcd4e699a7 @joaquimrocha committed Oct 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 skeltrack/skeltrack-skeleton.c
  2. +1 −1 skeltrack/skeltrack-skeleton.h
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,

0 comments on commit ee2875d

Please sign in to comment.
Something went wrong with that request. Please try again.