From fe04d297617d05191a1adcc4609260e68051739a Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 12 Apr 2020 23:31:12 +0200 Subject: Fix -Wmissing-prototypes build warnings --- libcaja-private/caja-file.c | 2 +- src/caja-application.c | 6 +++--- src/caja-desktop-window.c | 2 ++ src/caja-query-editor.c | 2 +- 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; -- cgit v1.2.1