[totem] main: Make signal emission functions private



commit 057f6978163bd1049a3bfa58f779ffaf73c84739
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 19 10:39:33 2013 +0100

    main: Make signal emission functions private
    
    External plugins shouldn't be able to call those.

 src/totem-private.h |   12 ++++++++++++
 src/totem.h         |   12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/totem-private.h b/src/totem-private.h
index 24ac691..04e2e5e 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -188,4 +188,16 @@ void       totem_action_fullscreen                 (TotemObject *totem, gboolean state);
 void   totem_action_volume_relative            (TotemObject *totem, double off_pct);
 void   totem_action_volume_toggle_mute         (TotemObject *totem);
 
+/* Signal emission */
+void   totem_file_opened                       (TotemObject *totem,
+                                                const char *mrl);
+void   totem_file_has_played                   (TotemObject *totem,
+                                                const char *mrl);
+void   totem_file_closed                       (TotemObject *totem);
+void   totem_metadata_updated                  (TotemObject *totem,
+                                                const char *artist,
+                                                const char *title,
+                                                const char *album,
+                                                guint track_num);
+
 #endif /* __TOTEM_PRIVATE_H__ */
diff --git a/src/totem.h b/src/totem.h
index 246cc06..63574b1 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -165,18 +165,6 @@ typedef struct {
 
 GType  totem_object_get_type                   (void);
 
-/* Signal emission */
-void   totem_file_opened                       (TotemObject *totem,
-                                                const char *mrl);
-void   totem_file_has_played                   (TotemObject *totem,
-                                                const char *mrl);
-void   totem_file_closed                       (TotemObject *totem);
-void   totem_metadata_updated                  (TotemObject *totem,
-                                                const char *artist,
-                                                const char *title,
-                                                const char *album,
-                                                guint track_num);
-
 void   totem_object_action_exit                (TotemObject *totem) G_GNUC_NORETURN;
 void   totem_object_action_play                (TotemObject *totem);
 void   totem_object_action_stop                (TotemObject *totem);


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