From: Stijn Buys Date: Fri, 28 Jun 2013 21:17:38 +0000 (+0200) Subject: Disabled pink to alpha conversion for icons. X-Git-Tag: xonotic-v0.8.1~1^2^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b039e7bb52f3aa62ff936a6341acb7a9ee567c67;p=xonotic%2Fnetradiant.git Disabled pink to alpha conversion for icons. --- diff --git a/libs/gtkutil/image.cpp b/libs/gtkutil/image.cpp index 4605d3f5..b8cd7bef 100644 --- a/libs/gtkutil/image.cpp +++ b/libs/gtkutil/image.cpp @@ -45,7 +45,7 @@ GdkPixbuf* pixbuf_new_from_file_with_mask( const char* filename ){ } else { - GdkPixbuf* rgba = gdk_pixbuf_add_alpha( rgb, TRUE, 255, 0, 255 ); + GdkPixbuf* rgba = gdk_pixbuf_add_alpha( rgb, FALSE, 255, 0, 255 ); gdk_pixbuf_unref( rgb ); return rgba; }