demo-common

demo-common

Functions

gchar * demo_find_file ()

Description

Functions

demo_find_file ()

gchar *
demo_find_file (const gchar *base,
                GError **err);

Looks for base first in the current directory, then in the location GTK+ where it will be installed on make install, returns the first file found.

Parameters

base

base filename

 

err

location to store error, or NULL.

 

Returns

the filename, if found or NULL