emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/gtkutil.c


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c
Date: Sun, 26 Jan 2003 13:23:56 -0500

Index: emacs/src/gtkutil.c
diff -c emacs/src/gtkutil.c:1.5 emacs/src/gtkutil.c:1.6
*** emacs/src/gtkutil.c:1.5     Sat Jan 25 11:25:39 2003
--- emacs/src/gtkutil.c Sun Jan 26 13:23:54 2003
***************
*** 2740,2746 ****
--- 2740,2753 ----
  
        img_id = lookup_image (f, image);
        img = IMAGE_FROM_ID (f, img_id);
+       prepare_image_for_display (f, img);
  
+       if (img->load_failed_p || img->pixmap == None)
+         {
+           if (wicon) gtk_widget_hide (wicon);
+           continue;
+         }
+           
        if (! wicon)
          {
            GdkPixmap *gpix = gdk_pixmap_foreign_new (img->pixmap);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]