app: make themes_apply_theme() private, it's only used in themes.c
This commit is contained in:
@ -39,6 +39,8 @@
|
|||||||
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
|
|
||||||
|
static void themes_apply_theme (Gimp *gimp,
|
||||||
|
const gchar *theme_name);
|
||||||
static void themes_directories_foreach (const GimpDatafileData *file_data,
|
static void themes_directories_foreach (const GimpDatafileData *file_data,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
static void themes_list_themes_foreach (gpointer key,
|
static void themes_list_themes_foreach (gpointer key,
|
||||||
@ -198,7 +200,10 @@ themes_get_theme_file (Gimp *gimp,
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
|
/* private functions */
|
||||||
|
|
||||||
|
static void
|
||||||
themes_apply_theme (Gimp *gimp,
|
themes_apply_theme (Gimp *gimp,
|
||||||
const gchar *theme_name)
|
const gchar *theme_name)
|
||||||
{
|
{
|
||||||
@ -271,9 +276,6 @@ themes_apply_theme (Gimp *gimp,
|
|||||||
g_free (themerc);
|
g_free (themerc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* private functions */
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
themes_directories_foreach (const GimpDatafileData *file_data,
|
themes_directories_foreach (const GimpDatafileData *file_data,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
|
@ -29,8 +29,6 @@ const gchar * themes_get_theme_dir (Gimp *gimp,
|
|||||||
gchar * themes_get_theme_file (Gimp *gimp,
|
gchar * themes_get_theme_file (Gimp *gimp,
|
||||||
const gchar *first_component,
|
const gchar *first_component,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
void themes_apply_theme (Gimp *gimp,
|
|
||||||
const gchar *theme_name);
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* __THEMES_H__ */
|
#endif /* __THEMES_H__ */
|
||||||
|
Reference in New Issue
Block a user