diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-03 02:33:44 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-03 02:33:44 +0100 |
commit | c65e16fd00dd3ceacac301f2f774bdf29cf211d2 (patch) | |
tree | 15aa703dad51c6a0982059fda24f6dca0d4a08ae /src/fe-gtk/pixmaps.c | |
parent | 259ed9644d1788d33c7d7532f94ebd4e1d123edb (diff) |
Relocate hexchat.png and hexchat.ico and some more varname cleanup
Diffstat (limited to 'src/fe-gtk/pixmaps.c')
-rw-r--r-- | src/fe-gtk/pixmaps.c | 16 |
1 files changed, 7 insertions, 9 deletions
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); } |