[totem/wip/hadess/clean-private: 9/21] main: Make grilo_widget_setup() private




commit 5ce341aab37ab65489e21a494f3039074528b7ce
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 7 13:27:35 2022 +0200

    main: Make grilo_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 da0ae2e7e..b2099c9d3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -99,6 +99,7 @@ static void totem_object_set_mrl_and_play (TotemObject *totem, const char *mrl,
 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);
 
 /* Callback functions for GtkBuilder */
 G_MODULE_EXPORT gboolean main_window_destroy_cb (GtkWidget *widget, GdkEvent *event, TotemObject *totem);
@@ -4144,7 +4145,7 @@ grilo_current_page_changed (TotemGrilo  *grilo,
        }
 }
 
-void
+static void
 grilo_widget_setup (TotemObject *totem)
 {
        totem->grilo = totem_grilo_new (totem, totem->header);
diff --git a/src/totem-private.h b/src/totem-private.h
index 3333b6d72..b462fa05a 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -181,7 +181,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   grilo_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]