summaryrefslogtreecommitdiff
path: root/src/Fl_File_Icon2.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-28 21:04:37 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-28 21:04:37 +0000
commit6a6e4ab66c655d2d897c3382a03cd9754257cf01 (patch)
treed63153819df5f6528f4a91afea23fe143563f135 /src/Fl_File_Icon2.cxx
parent96094e5617f0762538b12d5ba3cfead3d809b73c (diff)
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
Diffstat (limited to 'src/Fl_File_Icon2.cxx')
-rw-r--r--src/Fl_File_Icon2.cxx7
1 files changed, 5 insertions, 2 deletions
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 $".
//