[totem/wip/hadess/clean-private: 14/21] main: Remove unused totem_object_open_files()




commit 8e4fe0dfa50611afba5e275f646ec3f040beed9c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 7 13:31:35 2022 +0200

    main: Remove unused totem_object_open_files()

 src/totem-object.c  | 16 ----------------
 src/totem-private.h |  1 -
 2 files changed, 17 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index f61fc5865..02e69dfe6 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2842,22 +2842,6 @@ seek_slider_scroll_event_cb (GtkWidget      *widget,
        return GDK_EVENT_STOP;
 }
 
-gboolean
-totem_object_open_files (TotemObject *totem, char **list)
-{
-       GSList *slist = NULL;
-       int i, retval;
-
-       for (i = 0 ; list[i] != NULL; i++)
-               slist = g_slist_prepend (slist, list[i]);
-
-       slist = g_slist_reverse (slist);
-       retval = totem_object_open_files_list (totem, slist);
-       g_slist_free (slist);
-
-       return retval;
-}
-
 static gboolean
 totem_object_open_files_list (TotemObject *totem, GSList *list)
 {
diff --git a/src/totem-private.h b/src/totem-private.h
index 04e15927b..ccffeda59 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -174,7 +174,6 @@ void        totem_object_show_properties            (Totem *totem);
 void    totem_object_set_mrl                   (TotemObject *totem,
                                                 const char *mrl,
                                                 const char *subtitle);
-gboolean totem_object_open_files               (Totem *totem, char **list);
 
 void   totem_object_set_fullscreen             (TotemObject *totem, gboolean state);
 void   totem_object_set_main_page              (TotemObject *totem,


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