From c65e16fd00dd3ceacac301f2f774bdf29cf211d2 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 3 Nov 2012 02:33:44 +0100 Subject: Relocate hexchat.png and hexchat.ico and some more varname cleanup --- src/fe-gtk/pixmaps.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/fe-gtk/pixmaps.c') diff --git a/src/fe-gtk/pixmaps.c b/src/fe-gtk/pixmaps.c index a1fa9842..24439219 100644 --- a/src/fe-gtk/pixmaps.c +++ b/src/fe-gtk/pixmaps.c @@ -31,9 +31,6 @@ #include "../pixmaps/inline_pngs.h" -GdkPixbuf *pix_xchat; -GdkPixbuf *pix_book; - GdkPixbuf *pix_ulist_voice; GdkPixbuf *pix_ulist_halfop; GdkPixbuf *pix_ulist_op; @@ -41,7 +38,6 @@ GdkPixbuf *pix_ulist_owner; GdkPixbuf *pix_ulist_founder; GdkPixbuf *pix_ulist_netop; - GdkPixbuf *pix_tray_msg; GdkPixbuf *pix_tray_hilight; GdkPixbuf *pix_tray_file; @@ -51,6 +47,8 @@ GdkPixbuf *pix_dialog; GdkPixbuf *pix_server; GdkPixbuf *pix_util; +GdkPixbuf *pix_book; +GdkPixbuf *pix_hexchat; static GdkPixmap * pixmap_load_from_file_real (char *file) @@ -122,11 +120,6 @@ load_pixmap (const char *filename, const char *name, int has_inline) void pixmaps_init (void) { - pix_book = gdk_pixbuf_new_from_inline (-1, bookpng, FALSE, 0); - - /* used in About window, tray icon and WindowManager icon. */ - pix_xchat = load_pixmap ("hexchat", hexchatpng, 1); - /* userlist icons, with inlined defaults */ pix_ulist_voice = load_pixmap ("ulist_voice", png_ulist_voice, 1); pix_ulist_halfop = load_pixmap ("ulist_halfop", png_ulist_halfop, 1); @@ -152,4 +145,9 @@ pixmaps_init (void) pix_dialog = load_pixmap ("dialog", dialogpng, 1); pix_server = load_pixmap ("server", serverpng, 1); pix_util = load_pixmap ("util", utilpng, 1); + + /* non-replaceable book pixmap */ + pix_book = gdk_pixbuf_new_from_inline (-1, png_book, FALSE, 0); + /* used in About window, tray icon and WindowManager icon. */ + pix_hexchat = load_pixmap ("hexchat", png_hexchat, 1); } -- cgit 1.4.1