[gnome-session] [capplet] Make it clear that some GstApp API is private



commit 64b2dfa36a1b5865906106f0059a185768b859af
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Jun 23 14:07:09 2009 +0200

    [capplet] Make it clear that some GstApp API is private
    
    Some of the API only exists because it's needed for GstAppManager, and
    shouldn't be used by any other part of the capplet.

 capplet/gsp-app.h |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/capplet/gsp-app.h b/capplet/gsp-app.h
index 9221147..9ab85bf 100644
--- a/capplet/gsp-app.h
+++ b/capplet/gsp-app.h
@@ -58,18 +58,12 @@ struct _GspApp
 
 GType            gsp_app_get_type          (void);
 
-GspApp          *gsp_app_new               (const char   *path,
-                                            unsigned int  xdg_position);
 void             gsp_app_create            (const char   *name,
                                             const char   *comment,
                                             const char   *exec);
 
 gboolean         gsp_app_copy_desktop_file (const char   *uri);
 
-void             gsp_app_reload_at         (GspApp       *app,
-                                            const char   *path,
-                                            unsigned int  xdg_position);
-
 void             gsp_app_edit              (GspApp       *app,
                                             GtkWindow    *parent);
 void             gsp_app_delete            (GspApp       *app);
@@ -86,10 +80,19 @@ const char      *gsp_app_get_description   (GspApp       *app);
 const char      *gsp_app_get_icon_name     (GspApp       *app);
 GdkPixbuf       *gsp_app_get_pixbuf        (GspApp       *app);
 
-unsigned int     gsp_app_get_xdg_position  (GspApp       *app);
+/* private interface for GspAppManager only */
+
+GspApp          *gsp_app_new                      (const char   *path,
+                                                   unsigned int  xdg_position);
+
+void             gsp_app_reload_at                (GspApp       *app,
+                                                   const char   *path,
+                                                   unsigned int  xdg_position);
+
+unsigned int     gsp_app_get_xdg_position         (GspApp       *app);
 unsigned int     gsp_app_get_xdg_system_position  (GspApp       *app);
 void             gsp_app_set_xdg_system_position  (GspApp       *app,
-						   unsigned int  position);
+                                                   unsigned int  position);
 
 G_END_DECLS
 



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