[totem/wip/hadess/remove-totem-interface: 3/3] main: Make totem_interface_get_full_path() private
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/remove-totem-interface: 3/3] main: Make totem_interface_get_full_path() private
- Date: Tue, 11 May 2021 13:20:56 +0000 (UTC)
commit c83e9493afa63c8c1bea94e2fbc94a3089965d8b
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 11 14:50:10 2021 +0200
main: Make totem_interface_get_full_path() private
docs/reference/totem-sections.txt | 1 -
src/totem-interface.c | 3 ++-
src/totem-interface.h | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/totem-sections.txt b/docs/reference/totem-sections.txt
index a5000a91d..2f9bc2768 100644
--- a/docs/reference/totem-sections.txt
+++ b/docs/reference/totem-sections.txt
@@ -101,7 +101,6 @@ totem_interface_create_header_button
totem_interface_error
totem_interface_error_blocking
<SUBSECTION Private>
-totem_interface_get_full_path
totem_interface_load
</SECTION>
diff --git a/src/totem-interface.c b/src/totem-interface.c
index a60bf8fd4..dbc1cf899 100644
--- a/src/totem-interface.c
+++ b/src/totem-interface.c
@@ -49,6 +49,7 @@
static GtkBuilder *
totem_interface_load_with_full_path (const char *filename, gboolean fatal,
GtkWindow *parent, gpointer user_data);
+static char *totem_interface_get_full_path (const char *name);
static GtkWidget *
totem_interface_error_dialog (const char *title, const char *reason,
@@ -203,7 +204,7 @@ totem_interface_load_with_full_path (const char *filename, gboolean fatal,
return builder;
}
-char *
+static char *
totem_interface_get_full_path (const char *name)
{
char *filename;
diff --git a/src/totem-interface.h b/src/totem-interface.h
index 85586e0ca..d209943c1 100644
--- a/src/totem-interface.h
+++ b/src/totem-interface.h
@@ -28,7 +28,6 @@
G_BEGIN_DECLS
-char *totem_interface_get_full_path (const char *name);
GtkBuilder *totem_interface_load (const char *name,
gboolean fatal,
GtkWindow *parent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]