summary refs log tree commit diff stats
path: root/src/fe-gtk/pixmaps.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 22:13:40 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 22:13:40 +0100
commitea0d3059f44c1edc3fd762c5b921e43e535db290 (patch)
tree9dbef07bb3b527a5be024030f1a9ba71dd566869 /src/fe-gtk/pixmaps.c
parentcb0f6c8c91b564e541688b3f0f57d8456295dc1f (diff)
Eliminate even more warnings and bump warning level to 3
Shouldn't need to go any higher, level 4+ gives insane warnings
Diffstat (limited to 'src/fe-gtk/pixmaps.c')
-rw-r--r--src/fe-gtk/pixmaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/pixmaps.c b/src/fe-gtk/pixmaps.c
index b7fc40e2..49e0d56c 100644
--- a/src/fe-gtk/pixmaps.c
+++ b/src/fe-gtk/pixmaps.c
@@ -60,7 +60,7 @@ pixmap_load_from_file_real (char *file)
 	if (!img)
 		return NULL;
 	gdk_pixbuf_render_pixmap_and_mask (img, &pixmap, NULL, 128);
-	gdk_pixbuf_unref (img);
+	g_object_unref (img);
 
 	return pixmap;
 }