app: make themes_apply_theme() private, it's only used in themes.c

This commit is contained in:
Michael Natterer 2010-12-18 22:42:09 +01:00
parent 0e55c5e4d8
commit cac40f2db9
2 changed files with 6 additions and 6 deletions

View File

@ -39,6 +39,8 @@
/* local function prototypes */
static void themes_apply_theme (Gimp *gimp,
const gchar *theme_name);
static void themes_directories_foreach (const GimpDatafileData *file_data,
gpointer user_data);
static void themes_list_themes_foreach (gpointer key,
@ -198,7 +200,10 @@ themes_get_theme_file (Gimp *gimp,
return path;
}
void
/* private functions */
static void
themes_apply_theme (Gimp *gimp,
const gchar *theme_name)
{
@ -271,9 +276,6 @@ themes_apply_theme (Gimp *gimp,
g_free (themerc);
}
/* private functions */
static void
themes_directories_foreach (const GimpDatafileData *file_data,
gpointer user_data)

View File

@ -29,8 +29,6 @@ const gchar * themes_get_theme_dir (Gimp *gimp,
gchar * themes_get_theme_file (Gimp *gimp,
const gchar *first_component,
...) G_GNUC_NULL_TERMINATED;
void themes_apply_theme (Gimp *gimp,
const gchar *theme_name);
#endif /* __THEMES_H__ */