[gimp/soc-2010-cage-2] app: make themes_apply_theme() private, it's only used in themes.c



commit cedcd98b9d4ee1a637da65b29a09ffcc30803624
Author: Michael Natterer <mitch gimp org>
Date:   Sat Dec 18 22:42:09 2010 +0100

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

 app/gui/themes.c |   10 ++++++----
 app/gui/themes.h |    2 --
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/gui/themes.c b/app/gui/themes.c
index 28ec181..4c6f56a 100644
--- a/app/gui/themes.c
+++ b/app/gui/themes.c
@@ -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)
diff --git a/app/gui/themes.h b/app/gui/themes.h
index 745dd2c..ad8edb3 100644
--- a/app/gui/themes.h
+++ b/app/gui/themes.h
@@ -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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]