Details
PATH_SEP
#define PATH_SEP '/'
A int macro that represents the character used to
represent the path separator in this operating system
PATH_SEP_STR
#define PATH_SEP_STR "/"
A char * string that represents the character used to
represent the path separator in this operating system. This comes in
string fashion.
gnome_libdir_file ()
char* gnome_libdir_file (const char *filename);
Locates a shared file either in the GNOMEDIR tree, the GNOME
installation directory or in the current directory
gnome_datadir_file ()
char* gnome_datadir_file (const char *filename);
gnome_sound_file ()
char* gnome_sound_file (const char *filename);
Locates a sound file either in the GNOMEDIR tree, the GNOME
installation directory or in the current directory
gnome_pixmap_file ()
char* gnome_pixmap_file (const char *filename);
gnome_config_file ()
char* gnome_config_file (const char *filename);
Locates a configuration file ($prefix/etc) in the GNOMEDIR tree, the
GNOME installation direcory or the current directory.
gnome_unconditional_libdir_file ()
char* gnome_unconditional_libdir_file (const char *filename);
gnome_unconditional_datadir_file ()
char* gnome_unconditional_datadir_file
(const char *filename);
gnome_unconditional_sound_file ()
char* gnome_unconditional_sound_file (const char *filename);
gnome_unconditional_pixmap_file ()
char* gnome_unconditional_pixmap_file (const char *filename);
gnome_unconditional_config_file ()
char* gnome_unconditional_config_file (const char *filename);
g_file_test ()
int g_file_test (const char *filename,
int test);
test is one of:
G_FILE_TEST_ISFILE, to check if the pathname is a file
G_FILE_TEST_ISLINK, to check if the pathname is a symlink
G_FILE_TEST_ISDIR, to check if the pathname is a directory
g_file_exists ()
int g_file_exists (const char *filename);
g_copy_strings
#define g_copy_strings
g_unix_error_string ()
const char* g_unix_error_string (int error_num);
g_concat_dir_and_file ()
char* g_concat_dir_and_file (const char *dir,
const char *file);
g_filename_index()
#define g_filename_index(path)
g_filename_pointer
#define g_filename_pointer
g_extension_pointer ()
const char* g_extension_pointer (const char *path);
g_copy_vector ()
char** g_copy_vector (char **vec);
g_flatten_vector
#define g_flatten_vector
gnome_util_user_home()
#define gnome_util_user_home()
gnome_util_prepend_user_home()
#define gnome_util_prepend_user_home(x)
gnome_util_home_file()
#define gnome_util_home_file(afile)
gnome_util_user_shell ()
char* gnome_util_user_shell (void);
g_is_image_filename ()
gboolean g_is_image_filename (const char *path);
Extra lame way of figuring if a filename is an image file. You
should use the gnome_mime functions and match against "image/".