diff src/xterm.c @ 52095:a2208fe45c36

* xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 31 Jul 2003 16:10:53 +0000
parents 039e1c55561e
children 280be897db0d
line wrap: on
line diff
--- a/src/xterm.c	Thu Jul 31 01:24:44 2003 +0000
+++ b/src/xterm.c	Thu Jul 31 16:10:53 2003 +0000
@@ -7474,7 +7474,7 @@
 #ifdef USE_GTK
       /* Use gtk_window_set_icon_from_file() if available,
 	 It's not restricted to bitmaps */
-      if (!xg_set_icon(f, file))
+      if (xg_set_icon(f, file))
 	return 0;
 #endif /* USE_GTK */
       bitmap_id = x_create_bitmap_from_file (f, file);