Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Make skeltrack_skeleton_new return a real SkeltrackSkeleton
Browse files Browse the repository at this point in the history
It was returning a GObject.
  • Loading branch information
joaquimrocha committed Oct 19, 2012
1 parent 5438470 commit ee2875d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skeltrack/skeltrack-skeleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion skeltrack/skeltrack-skeleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee2875d

Please sign in to comment.