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
This commit is contained in:
Tom Gilbert 1999-12-11 12:18:21 +00:00
parent d0198b2cda
commit 5efc360e31
2 changed files with 16 additions and 1 deletions

View File

@ -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.

View File

@ -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);