summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-03-08 13:08:33 +0100
committerraveit65 <[email protected]>2021-03-13 23:06:22 +0100
commit3b61d747f8e7f5e92912e45dc5827909f8b98ed0 (patch)
tree75d8754774c70b3ee61c6cb449c02eca282899e8
parent0a908588f0612d3fc26e79c454253e80dc8c9e10 (diff)
downloadmate-utils-master.tar.bz2
mate-utils-master.tar.xz
Remove warnings about missing prototypesHEADmaster
-rw-r--r--baobab/src/baobab-chart.c2
-rw-r--r--baobab/src/baobab-ringschart.c4
-rw-r--r--baobab/src/baobab-scan.c2
-rw-r--r--baobab/src/baobab-utils.c2
-rw-r--r--mate-dictionary/src/gdict-sidebar.c4
5 files changed, 7 insertions, 7 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c
index ada9d030..24a7b30a 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -1170,7 +1170,7 @@ baobab_chart_query_tooltip (GtkWidget *widget,
return TRUE;
}
-GdkPixbuf*
+static GdkPixbuf*
baobab_chart_get_pixbuf (GtkWidget *widget)
{
gint w, h;
diff --git a/baobab/src/baobab-ringschart.c b/baobab/src/baobab-ringschart.c
index 38461c5b..7c3c45c8 100644
--- a/baobab/src/baobab-ringschart.c
+++ b/baobab/src/baobab-ringschart.c
@@ -363,7 +363,7 @@ baobab_ringschart_get_item_rectangle (GtkWidget *chart,
item->rect = rect;
}
-gboolean
+static gboolean
baobab_ringschart_subfolder_tips_timeout (gpointer data)
{
BaobabRingschartPrivate *priv;
@@ -377,7 +377,7 @@ baobab_ringschart_subfolder_tips_timeout (gpointer data)
return FALSE;
}
-void
+static void
baobab_ringschart_clean_subforlder_tips_state (GtkWidget *chart)
{
BaobabRingschartPrivate *priv;
diff --git a/baobab/src/baobab-scan.c b/baobab/src/baobab-scan.c
index 9d8a1143..9d3b6746 100644
--- a/baobab/src/baobab-scan.c
+++ b/baobab/src/baobab-scan.c
@@ -28,7 +28,7 @@
#include "baobab.h"
#include "baobab-utils.h"
-
+#include "baobab-scan.h"
/*
Hardlinks handling.
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index 9ef02582..9248c8af 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -69,7 +69,7 @@ baobab_get_filesystem (BaobabFS *fs)
g_free (mountentries);
}
-void
+static void
filechooser_cb (GtkWidget *chooser,
gint response,
gpointer data)
diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c
index 5d2ea36e..98f87fd7 100644
--- a/mate-dictionary/src/gdict-sidebar.c
+++ b/mate-dictionary/src/gdict-sidebar.c
@@ -71,7 +71,7 @@ static GQuark sidebar_page_id_quark = 0;
G_DEFINE_TYPE_WITH_PRIVATE (GdictSidebar, gdict_sidebar, GTK_TYPE_BOX);
-SidebarPage *
+static SidebarPage *
sidebar_page_new (const gchar *id,
const gchar *name,
GtkWidget *widget)
@@ -89,7 +89,7 @@ sidebar_page_new (const gchar *id,
return page;
}
-void
+static void
sidebar_page_free (SidebarPage *page)
{
if (G_LIKELY (page))