+
+# else /* HAVE_GDK_PIXBUF */
+
+ /* jwz -- dumbass Glade1 doesn't emit code that can read PNGs.
+ This code does... */
+
+ /* #### Danger: we aren't using `colormap'... */
+
+ {
+ GdkPixbuf *pb;
+# ifdef HAVE_GTK2
+ GError *gerr = 0;
+# endif /* HAVE_GTK2 */
+
+ pb = gdk_pixbuf_new_from_file (found_filename
+# ifdef HAVE_GTK2
+ , &gerr
+# endif /* HAVE_GTK2 */
+ );
+
+ if (pb)
+ {
+ gdkpixmap = 0;
+ mask = 0;
+ gdk_pixbuf_render_pixmap_and_mask (pb, &gdkpixmap, &mask, 128);
+ }
+ else
+ {
+ g_warning (_("Error loading pixmap file: %s"), found_filename);
+# ifdef HAVE_GTK2
+ if (gerr && gerr->message && *gerr->message)
+ g_warning (_("reason: %s\n"), gerr->message);
+# endif /* HAVE_GTK2 */
+
+ return create_dummy_pixmap (widget);
+ }
+ }
+# endif /* HAVE_GDK_PIXBUF */
+