fixed no return in non void function
authorAndrea Florio <andrea@opensuse.org>
Thu, 25 Aug 2011 09:28:45 +0000 (11:28 +0200)
committerAndrea Florio <andrea@opensuse.org>
Thu, 25 Aug 2011 09:28:45 +0000 (11:28 +0200)
src/ldm-background.c

index 579361d..7ddb153 100644 (file)
@@ -193,7 +193,7 @@ gboolean ldm_background_get_property(LdmBackground* lb,
 #define DEG_TO_RAD(x) ((double)x * M_PI/180)
 
 /* Reference: http://cairographics.org/samples/rounded_rectangle/ */
-static round_rect(cairo_t* cr, double x, double y, double width, double height, double radius)
+static void round_rect(cairo_t* cr, double x, double y, double width, double height, double radius)
 {
     cairo_new_sub_path(cr);
     cairo_arc(cr, x + width - radius, y + radius, radius,