Skip to content
This repository
Browse code

Make skeltrack_skeleton_new return a real SkeltrackSkeleton

It was returning a GObject.
  • Loading branch information...
commit ee2875dc750e5faffb46199b668745fcd4e699a7 1 parent 5438470
Joaquim Rocha authored October 19, 2012
2  skeltrack/skeltrack-skeleton.c
@@ -1797,7 +1797,7 @@ track_joints_in_thread (GSimpleAsyncResult *res,
1797 1797
  *
1798 1798
  * Returns: (transfer full): The newly created #SkeltrackSkeleton.
1799 1799
  */
1800  
-GObject *
  1800
+SkeltrackSkeleton *
1801 1801
 skeltrack_skeleton_new (void)
1802 1802
 {
1803 1803
   return g_object_new (SKELTRACK_TYPE_SKELETON, NULL);
2  skeltrack/skeltrack-skeleton.h
@@ -59,7 +59,7 @@ struct _SkeltrackSkeletonClass
59 59
 
60 60
 GType                 skeltrack_skeleton_get_type               (void) G_GNUC_CONST;
61 61
 
62  
-GObject *             skeltrack_skeleton_new                    (void);
  62
+SkeltrackSkeleton *   skeltrack_skeleton_new                    (void);
63 63
 
64 64
 void                  skeltrack_skeleton_track_joints           (SkeltrackSkeleton   *self,
65 65
                                                                  guint16             *buffer,

0 notes on commit ee2875d

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