[totem/wip/hadess/clean-private: 12/21] main: Make totem_setup_window() private




commit ce6db0a56fcc4307e1805103aff020e2eb674da8
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 7 13:30:01 2022 +0200

    main: Make totem_setup_window() 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 c8b8ed561..f61fc5865 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -102,6 +102,7 @@ static void video_widget_create (TotemObject *totem);
 static void grilo_widget_setup (TotemObject *totem);
 static void playlist_widget_setup (TotemObject *totem);
 static void totem_callback_connect (TotemObject *totem);
+static void totem_setup_window (TotemObject *totem);
 
 /* Callback functions for GtkBuilder */
 G_MODULE_EXPORT gboolean main_window_destroy_cb (GtkWidget *widget, GdkEvent *event, TotemObject *totem);
@@ -3819,7 +3820,7 @@ update_buttons (TotemObject *totem)
                                       totem_object_can_seek_next (totem));
 }
 
-void
+static void
 totem_setup_window (TotemObject *totem)
 {
        GKeyFile *keyfile;
diff --git a/src/totem-private.h b/src/totem-private.h
index 4911ba1ba..f25b649b3 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -178,7 +178,6 @@ gboolean totem_object_open_files            (Totem *totem, char **list);
 
 void   show_controls                           (Totem *totem, gboolean was_fullscreen);
 
-void   totem_setup_window                      (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]