mirror of https://github.com/GNOME/gimp.git
app: make themes_apply_theme() private, it's only used in themes.c
This commit is contained in:
parent
0e55c5e4d8
commit
cac40f2db9
|
@ -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)
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue