[clutter-gst] frame: Add missing return value to clutter_gst_frame_new



commit 728a07435a0224202041e4c3603e02547f04b980
Author: Bastian Winkler <buz netbuz org>
Date:   Tue Mar 19 11:44:51 2013 +0100

    frame: Add missing return value to clutter_gst_frame_new
    
    Fix clutter_gst_frame_new to really return a new frame.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696127

 clutter-gst/clutter-gst-types.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-types.c b/clutter-gst/clutter-gst-types.c
index 72edb3c..c4b7204 100644
--- a/clutter-gst/clutter-gst-types.c
+++ b/clutter-gst/clutter-gst-types.c
@@ -40,6 +40,8 @@ clutter_gst_frame_new (CoglPipeline *pipeline)
   frame->resolution.height = cogl_texture_get_height (texture);
   frame->resolution.par_n = 1;
   frame->resolution.par_d = 1;
+
+  return frame;
 }
 
 static gpointer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]