mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Eliminate gnome dependency in file location functions
As a side effect, they can now be grouped together with our other file location functions in core-utils. They no longer depend on any gui library. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22377 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -40,47 +40,6 @@
|
||||
/** Initialize the Gnome libraries. */
|
||||
void gnc_gnome_init (int argc, char **argv, const char * version);
|
||||
|
||||
/** Given a pixmap/pixbuf file name, find the file in the pixmap
|
||||
* directory associated with this application. This routine will
|
||||
* display an error message if it can't find the file.
|
||||
*
|
||||
* @param name The name of the file to be found.
|
||||
*
|
||||
* @return the full path name of the file, or NULL of the file can't
|
||||
* be found.
|
||||
*
|
||||
* @note It is the caller's responsibility to free the returned string.
|
||||
*/
|
||||
char *gnc_gnome_locate_pixmap (const char *name);
|
||||
|
||||
|
||||
/** Given a file name, find the file in the directories associated
|
||||
* with this application. This routine will display an error message
|
||||
* if it can't find the file.
|
||||
*
|
||||
* @param name The name of the file to be found.
|
||||
*
|
||||
* @return the full path name of the file, or NULL of the file can't
|
||||
* be found.
|
||||
*
|
||||
* @note It is the caller's responsibility to free the returned string.
|
||||
*/
|
||||
char *gnc_gnome_locate_data_file (const char *name);
|
||||
|
||||
|
||||
/** Given a file name, find the file in the directories associated
|
||||
* with this application. This routine will display an error message
|
||||
* if it can't find the file.
|
||||
*
|
||||
* @param name The name of the file to be found.
|
||||
*
|
||||
* @return the full path name of the file, or NULL of the file can't
|
||||
* be found.
|
||||
*
|
||||
* @note It is the caller's responsibility to free the returned string.
|
||||
*/
|
||||
char *gnc_gnome_locate_ui_file (const char *name);
|
||||
|
||||
/** Launch the default gnome help browser and open to a given link
|
||||
* within a given file. This routine will display an error message
|
||||
* if it can't find the help file or can't open the help browser.
|
||||
|
||||
Reference in New Issue
Block a user