[totem/wip/hadess/clean-private: 10/21] main: Make playlist_widget_setup() private
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/clean-private: 10/21] main: Make playlist_widget_setup() private
- Date: Thu, 7 Apr 2022 11:47:05 +0000 (UTC)
commit 432c30debd22e03e19e8ec15770a609238ba9700
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 7 13:28:37 2022 +0200
main: Make playlist_widget_setup() private
src/totem-object.c | 3 ++-
src/totem-private.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index b2099c9d3..0b49a806e 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -100,6 +100,7 @@ static void mark_popup_busy (TotemObject *totem, const char *reason);
static void unmark_popup_busy (TotemObject *totem, const char *reason);
static void video_widget_create (TotemObject *totem);
static void grilo_widget_setup (TotemObject *totem);
+static void playlist_widget_setup (TotemObject *totem);
/* Callback functions for GtkBuilder */
G_MODULE_EXPORT gboolean main_window_destroy_cb (GtkWidget *widget, GdkEvent *event, TotemObject *totem);
@@ -4088,7 +4089,7 @@ totem_callback_connect (TotemObject *totem)
update_volume_sliders (totem);
}
-void
+static void
playlist_widget_setup (TotemObject *totem)
{
totem->playlist = TOTEM_PLAYLIST (totem_playlist_new ());
diff --git a/src/totem-private.h b/src/totem-private.h
index b462fa05a..2dd7ff9be 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -180,7 +180,6 @@ void show_controls (Totem *totem, gboolean
was_fullscreen);
void totem_setup_window (Totem *totem);
void totem_callback_connect (Totem *totem);
-void playlist_widget_setup (Totem *totem);
void totem_object_set_fullscreen (TotemObject *totem, gboolean state);
void totem_object_set_main_page (TotemObject *totem,
const char *page_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]