From 5efc360e31074135d587586984567221dd073263 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sat, 11 Dec 1999 12:18:21 +0000 Subject: [PATCH] Sat Dec 11 17:47:32 GMT 1999 (gilbertt) Don't try to open "/dev/null" as an image either. Prevents those: IMLIB ERROR: Cannot load image: /dev/null All fallbacks failed. messages. I have just used a NULL parameter instead, which I believe is correct. SVN revision: 1591 --- ChangeLog | 15 +++++++++++++++ epplets/E-Slides.c | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bbbb4d4..617ee15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1563,3 +1563,18 @@ Sat Dec 11 13:27:54 GMT 1999 Urm. I don't know if this was intended, but E-Slides never actually Epplet_gadget_show()'s its image... Don't know when this happened... +------------------------------------------------------------------------------- + +Sat Dec 11 17:47:32 GMT 1999 +(gilbertt) + +Don't try to open "/dev/null" as an image either. + +Prevents those: + +IMLIB ERROR: Cannot load image: /dev/null +All fallbacks failed. + +messages. I have just used a NULL parameter instead, which I believe is +correct. + diff --git a/epplets/E-Slides.c b/epplets/E-Slides.c index a1a7a99..58d39f9 100644 --- a/epplets/E-Slides.c +++ b/epplets/E-Slides.c @@ -607,7 +607,7 @@ main(int argc, char **argv) pause_button = Epplet_create_button(NULL, NULL, ((16 * w / 2) - 6), ((16 * h) - 15), 0, 0, "PAUSE", 0, NULL, play_cb, (void *) (0)); cfg_button = Epplet_create_popupbutton(NULL, NULL, ((16 * w) - 15), 3, 0, 0, "CONFIGURE", cfg_popup); next_button = Epplet_create_button(NULL, NULL, ((16 * w) - 15), ((16 * h) - 15), 0, 0, "NEXT", 0, NULL, play_cb, (void *) (2)); - Epplet_gadget_show(picture = Epplet_create_image(3, 3, ((w * 16) - 6), ((h * 16) - 6), "/dev/null")); + Epplet_gadget_show(picture = Epplet_create_image(3, 3, ((w * 16) - 6), ((h * 16) - 6), NULL)); Epplet_show(); Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL);