From b8c1c3df062f7353ab5ab0f7c39dc83766f0262e 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 --- src/caja-application.c | 6 +++--- src/caja-desktop-window.c | 2 ++ src/caja-query-editor.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/caja-application.c b/src/caja-application.c index 9649affd..7fbbca36 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 36ae52ce..061b11b7 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 80cedf72..0a20b04d 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