[totem/wip/hadess/clean-private: 4/21] main: Mark totem_file_has_played() as private
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/clean-private: 4/21] main: Mark totem_file_has_played() as private
- Date: Thu, 7 Apr 2022 11:44:48 +0000 (UTC)
commit 0d1861d0517da0079a11060f9773674bb400b0db
Author: Bastien Nocera <hadess hadess net>
Date: Wed Apr 6 17:43:01 2022 +0200
main: Mark totem_file_has_played() as private
It's only used from a single location.
src/totem-object.c | 2 +-
src/totem-private.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 4ece7c72e..74b790217 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1157,7 +1157,7 @@ emit_file_closed (TotemObject *totem)
*
* Emits the #TotemObject::file-played signal on @totem.
**/
-void
+static void
totem_file_has_played (TotemObject *totem,
const char *mrl)
{
diff --git a/src/totem-private.h b/src/totem-private.h
index 45be76671..1493ee1d4 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -193,7 +193,3 @@ void totem_object_set_main_page (TotemObject *totem,
const char * totem_object_get_main_page (Totem *totem);
void totem_object_add_items_to_playlist (TotemObject *totem,
GList *items);
-
-/* Signal emission */
-void totem_file_has_played (TotemObject *totem,
- const char *mrl);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]