![]() |
![]() |
![]() |
Libgnomedb 4.0 Reference Manual | ![]() |
---|---|---|---|---|
void gnome_db_init (void); gchar* gnome_db_get_application_exec_path (const gchar *app_name);
void gnome_db_init (void);
Initialization of the libgnomedb library, must be called before any usage of the library.
Note: gtk_init()
is not called by this function and should also be called.
gchar* gnome_db_get_application_exec_path (const gchar *app_name);
Find the path to the application identified by app_name
. For example if the application
is "gnome-database-properties", then calling this function will return
"/your/prefix/bin/gnome-database-properties-4.0" if Libgnomedb is installed in
the "/your/prefix" prefix (which would usually be "/usr"), and for the ABI version 4.0.
|
the name of the application to find |
Returns : |
the path as a new string, or NULL if the application cannot be found
|