[totem/wip/hadess/totem-error-msg: 3/5] main: Make totem_object_show_error_and_exit() private




commit 895098366532557283d1ef715b63c20a7c1ba320
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 31 14:05:52 2022 +0200

    main: Make totem_object_show_error_and_exit() private

 src/totem-object.c  | 2 +-
 src/totem-private.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index e1cc12cdd..a75d9ba3b 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1308,7 +1308,7 @@ totem_object_show_error (TotemObject *totem, const char *title, const char *reas
                        GTK_WINDOW (totem->win));
 }
 
-G_GNUC_NORETURN void
+G_GNUC_NORETURN static void
 totem_object_show_error_and_exit (const char *title,
                const char *reason, TotemObject *totem)
 {
diff --git a/src/totem-private.h b/src/totem-private.h
index bc079a76b..7346df55e 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -181,7 +181,6 @@ void    totem_object_set_mrl                        (TotemObject *totem,
                                                 const char *mrl,
                                                 const char *subtitle);
 gboolean totem_object_open_files               (Totem *totem, char **list);
-G_GNUC_NORETURN void totem_object_show_error_and_exit (const char *title, const char *reason, Totem *totem);
 
 void   show_controls                           (Totem *totem, gboolean was_fullscreen);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]