mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +00:00
Eliminate even more warnings and bump warning level to 3
Shouldn't need to go any higher, level 4+ gives insane warnings
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "../common/hexchat.h"
|
||||
#include "../common/util.h"
|
||||
#include "../common/cfgfiles.h"
|
||||
#include "../common/typedef.h"
|
||||
|
||||
|
||||
GdkColor colors[] = {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user