… | |
… | |
1207 | } |
1207 | } |
1208 | |
1208 | |
1209 | void |
1209 | void |
1210 | rxvt_term::set_icon (const char *file) |
1210 | rxvt_term::set_icon (const char *file) |
1211 | { |
1211 | { |
1212 | #if HAVE_PIXBUF |
1212 | #if HAVE_PIXBUF && ENABLE_EWMH |
1213 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file, NULL); |
1213 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file, NULL); |
1214 | if (!pixbuf) |
1214 | if (!pixbuf) |
1215 | { |
1215 | { |
1216 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1216 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1217 | return; |
1217 | return; |