[libgd] icon-utils: Don't pass a 'void *' where an 'int' is expected



commit bf0b5c96a6b2f4b039fc12c2cef7729fc7cb6ecf
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Oct 13 17:27:44 2015 +0200

    icon-utils: Don't pass a 'void *' where an 'int' is expected
    
    Fall out from 1e049c22660d70132a3735d61d7a7daa957b59fc
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756510

 libgd/gd-icon-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-icon-utils.c b/libgd/gd-icon-utils.c
index d3530b8..3137ac7 100644
--- a/libgd/gd-icon-utils.c
+++ b/libgd/gd-icon-utils.c
@@ -208,7 +208,7 @@ gd_embed_image_in_frame (GdkPixbuf *source_image,
   GdkPixbuf *retval;
 
   surface = gdk_cairo_surface_create_from_pixbuf (source_image,
-                                                  NULL, NULL);
+                                                  0, NULL);
 
   /* Force the device scale to 1.0, since pixbufs are always in unscaled
    * dimensions.


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