summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-12 23:31:12 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-04-13 11:39:09 +0200
commitb8c1c3df062f7353ab5ab0f7c39dc83766f0262e (patch)
treef1cd4b88866f300584dc80ea96f87040c351ef74 /src
parent4a4d7407a30824d8f2d6aa3c43954759152d3df1 (diff)
downloadcaja-b8c1c3df062f7353ab5ab0f7c39dc83766f0262e.tar.bz2
caja-b8c1c3df062f7353ab5ab0f7c39dc83766f0262e.tar.xz
Fix -Wmissing-prototypes build warnings
Diffstat (limited to 'src')
-rw-r--r--src/caja-application.c6
-rw-r--r--src/caja-desktop-window.c2
-rw-r--r--src/caja-query-editor.c2
3 files changed, 6 insertions, 4 deletions
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;