summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-12 23:31:12 +0200
committerraveit65 <[email protected]>2022-07-20 23:48:03 +0200
commitfe04d297617d05191a1adcc4609260e68051739a (patch)
tree5181c180efb12ec8ba441a851a32a6a47f3f817e
parentfabb934ec6fc53ac19cc59ce68d224818d511803 (diff)
downloadcaja-fe04d297617d05191a1adcc4609260e68051739a.tar.bz2
caja-fe04d297617d05191a1adcc4609260e68051739a.tar.xz
Fix -Wmissing-prototypes build warnings
-rw-r--r--libcaja-private/caja-file.c2
-rw-r--r--src/caja-application.c6
-rw-r--r--src/caja-desktop-window.c2
-rw-r--r--src/caja-query-editor.c2
4 files changed, 7 insertions, 5 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c
index 531257e2..5336851e 100644
--- a/libcaja-private/caja-file.c
+++ b/libcaja-private/caja-file.c
@@ -3661,7 +3661,7 @@ caja_file_is_hidden_file (CajaFile *file)
return file->details->is_hidden;
}
-gboolean
+static gboolean
caja_file_is_backup_file (CajaFile *file)
{
return file->details->is_backup;
diff --git a/src/caja-application.c b/src/caja-application.c
index a13f0d65..0248104b 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -119,7 +119,7 @@ struct _CajaApplicationPrivate {
G_DEFINE_TYPE_WITH_PRIVATE (CajaApplication, caja_application, GTK_TYPE_APPLICATION);
-GList *
+static GList *
caja_application_get_spatial_window_list (void)
{
return caja_application_spatial_window_list;
@@ -210,7 +210,7 @@ caja_application_smclient_initialize (CajaApplication *self)
/* TODO: Should connect to quit_requested and block logout on active transfer? */
}
-void
+static void
caja_application_smclient_startup (CajaApplication *self)
{
g_assert (self->smclient == NULL);
@@ -726,7 +726,7 @@ caja_application_create_desktop_windows (CajaApplication *application)
}
}
-void
+static void
caja_application_open_desktop (CajaApplication *application)
{
if (caja_application_desktop_windows == NULL)
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c
index 278beb17..bfd4724c 100644
--- a/src/caja-desktop-window.c
+++ b/src/caja-desktop-window.c
@@ -42,6 +42,8 @@
/* Tell screen readers that this is a desktop window */
+static GType caja_desktop_window_accessible_get_type (void);
+
G_DEFINE_TYPE (CajaDesktopWindowAccessible, caja_desktop_window_accessible,
GTK_TYPE_WINDOW_ACCESSIBLE);
diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c
index 4875591d..debaf41f 100644
--- a/src/caja-query-editor.c
+++ b/src/caja-query-editor.c
@@ -485,7 +485,7 @@ tags_row_free_data (CajaQueryEditorRow *row)
{
}
-gchar *
+static gchar *
xattr_tags_list_to_str (const GList *tags)
{
gchar *result = NULL;