Q3map2:
* fix crash with nonpthreads xmllib + multithreading + output to system console * number of code fixes Radiant: misc... * fix: clone group ent / map import / saving map as : group ents name labels at 0,0,0; * number of code fixes
This commit is contained in:
@@ -47,7 +47,7 @@ GdkPixbuf* pixbuf_new_from_file_with_mask( const char* filename ){
|
||||
{
|
||||
//GdkPixbuf* rgba = gdk_pixbuf_add_alpha( rgb, TRUE, 255, 0, 255 ); //pink to alpha
|
||||
GdkPixbuf* rgba = gdk_pixbuf_add_alpha( rgb, FALSE, 255, 0, 255 ); //alpha
|
||||
gdk_pixbuf_unref( rgb );
|
||||
g_object_unref( rgb );
|
||||
return rgba;
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ GtkImage* image_new_from_file_with_mask( const char* filename ){
|
||||
else
|
||||
{
|
||||
GtkImage* image = GTK_IMAGE( gtk_image_new_from_pixbuf( rgba ) );
|
||||
gdk_pixbuf_unref( rgba );
|
||||
g_object_unref( rgba );
|
||||
return image;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user