From 6a6e4ab66c655d2d897c3382a03cd9754257cf01 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 28 Jun 2002 21:04:37 +0000 Subject: Separate the extra image functions into fltk_images. Add new fl_register_images() function to register the extra file formats with Fl_Shared_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Icon2.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Fl_File_Icon2.cxx') diff --git a/src/Fl_File_Icon2.cxx b/src/Fl_File_Icon2.cxx index 7044af849..5a2683e83 100644 --- a/src/Fl_File_Icon2.cxx +++ b/src/Fl_File_Icon2.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Icon2.cxx,v 1.1.2.14 2002/05/10 00:18:37 easysw Exp $" +// "$Id: Fl_File_Icon2.cxx,v 1.1.2.15 2002/06/28 21:04:36 easysw Exp $" // // Fl_File_Icon system icon routines. // @@ -646,6 +646,9 @@ Fl_File_Icon::load_system_icons(void) // Add symbols if they haven't been added already... if (!init) { + // This method requires the images library... + fl_register_images(); + if (!access("/usr/share/mimelnk", F_OK)) { // Load KDE icons... @@ -941,5 +944,5 @@ get_kde_val(char *str, // -// End of "$Id: Fl_File_Icon2.cxx,v 1.1.2.14 2002/05/10 00:18:37 easysw Exp $". +// End of "$Id: Fl_File_Icon2.cxx,v 1.1.2.15 2002/06/28 21:04:36 easysw Exp $". // -- cgit v1.2.3