summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fkeys.c1
-rw-r--r--src/fe-gtk/gtkutil.c1
-rw-r--r--src/fe-gtk/palette.c1
-rw-r--r--src/fe-gtk/pixmaps.c2
4 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c
index d47d694b..f86a59f8 100644
--- a/src/fe-gtk/fkeys.c
+++ b/src/fe-gtk/fkeys.c
@@ -55,6 +55,7 @@
 #include "../common/util.h"
 #include "../common/text.h"
 #include "../common/plugin.h"
+#include "../common/typedef.h"
 #include <gdk/gdkkeysyms.h>
 #include "gtkutil.h"
 #include "menu.h"
diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c
index 46958cf9..4c34f41d 100644
--- a/src/fe-gtk/gtkutil.c
+++ b/src/fe-gtk/gtkutil.c
@@ -51,6 +51,7 @@
 #include "../common/util.h"
 #include "../common/cfgfiles.h"
 #include "../common/hexchatc.h"
+#include "../common/typedef.h"
 #include "gtkutil.h"
 #include "pixmaps.h"
 
diff --git a/src/fe-gtk/palette.c b/src/fe-gtk/palette.c
index 8866dda7..cd01c097 100644
--- a/src/fe-gtk/palette.c
+++ b/src/fe-gtk/palette.c
@@ -34,6 +34,7 @@
 #include "../common/hexchat.h"
 #include "../common/util.h"
 #include "../common/cfgfiles.h"
+#include "../common/typedef.h"
 
 
 GdkColor colors[] = {
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;
 }