[totem] main: totem_action_set_mrl_and_play() doesn't need exporting



commit 9b2d0bf74c78f692fe366e9329a4a89a1ffd97cb
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 20 16:47:34 2013 +0100

    main: totem_action_set_mrl_and_play() doesn't need exporting
    
    It's only used inside totem-object.c
    
    https://bugzilla.gnome.org/show_bug.cgi?id=527021

 src/totem-object.c |   13 ++-----------
 src/totem.h        |    3 ---
 2 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 660a5bd..3998866 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -93,6 +93,7 @@ static void update_fill (TotemObject *totem, gdouble level);
 static void update_media_menu_items (TotemObject *totem);
 static void playlist_changed_cb (GtkWidget *playlist, TotemObject *totem);
 static void play_pause_set_label (TotemObject *totem, TotemStates state);
+static void totem_action_set_mrl_and_play (TotemObject *totem, const char *mrl, const char *subtitle);
 
 /* Callback functions for GtkBuilder */
 G_MODULE_EXPORT gboolean main_window_destroy_cb (GtkWidget *widget, GdkEvent *event, TotemObject *totem);
@@ -1266,17 +1267,7 @@ totem_action_seek (TotemObject *totem, double pos)
        }
 }
 
-/**
- * totem_action_set_mrl_and_play:
- * @totem: a #TotemObject
- * @mrl: the MRL to play
- * @subtitle: a subtitle file to load, or %NULL
- *
- * Loads the specified @mrl and plays it, if possible.
- * Calls totem_action_set_mrl() then totem_object_action_play().
- * For more information, see the documentation for totem_action_set_mrl().
- **/
-void
+static void
 totem_action_set_mrl_and_play (TotemObject *totem, const char *mrl, const char *subtitle)
 {
        totem_action_set_mrl (totem, mrl, subtitle);
diff --git a/src/totem.h b/src/totem.h
index 63574b1..489ac34 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -179,9 +179,6 @@ void        totem_object_action_volume              (TotemObject *totem, double volume);
 void    totem_action_set_mrl                   (TotemObject *totem,
                                                 const char *mrl,
                                                 const char *subtitle);
-void   totem_action_set_mrl_and_play           (TotemObject *totem,
-                                                const char *mrl, 
-                                                const char *subtitle);
 
 void   totem_object_action_next_angle          (TotemObject *totem);
 


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