[totem/wip/hadess/clean-private: 11/21] main: Make totem_callback_connect() private




commit 3ceb0e6cc04b8b67482123b9522bc6c6928d448a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 7 13:29:20 2022 +0200

    main: Make totem_callback_connect() 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 0b49a806e..c8b8ed561 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -101,6 +101,7 @@ 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);
+static void totem_callback_connect (TotemObject *totem);
 
 /* Callback functions for GtkBuilder */
 G_MODULE_EXPORT gboolean main_window_destroy_cb (GtkWidget *widget, GdkEvent *event, TotemObject *totem);
@@ -3950,7 +3951,7 @@ create_control_button (TotemObject *totem,
        return button;
 }
 
-void
+static void
 totem_callback_connect (TotemObject *totem)
 {
        GtkWidget *item;
diff --git a/src/totem-private.h b/src/totem-private.h
index 2dd7ff9be..4911ba1ba 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -179,7 +179,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_callback_connect                  (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]