source: trunk/desktop/class_c/helper.c

Last change on this file was 112, checked in by cinc, 19 years ago

Very preliminary icon support. Started with folder views. Support files

File size: 370 bytes
Line 
1
2#define INCL_DOS
3#include <os2.h>
4
5#include <gtk/gtk.h>
6
7const gchar* priv_getIconDir(void)
8{
9 static gchar gchrIconDir[CCHMAXPATH]={0};
10 gchar* pgchrCurDir;
11
12 if(!gchrIconDir[0])
13 {
14 pgchrCurDir=g_get_current_dir();
15 g_strlcpy(gchrIconDir, pgchrCurDir, sizeof(gchrIconDir));
16 g_free(pgchrCurDir);
17 }
18 return gchrIconDir;
19}
Note: See TracBrowser for help on using the repository browser.