summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-06 14:30:07 +0100
committerraveit65 <[email protected]>2020-03-10 21:13:18 +0100
commit7419ff0f54fe9f1489bbc491ea78195bffe1cb76 (patch)
tree6446256752906b33ffe97b44ea6c985336ac0e04 /capplets/appearance
parent9a8199449b9500aff28b5da4a5ac4988e49c2b92 (diff)
downloadmate-control-center-7419ff0f54fe9f1489bbc491ea78195bffe1cb76.tar.bz2
mate-control-center-7419ff0f54fe9f1489bbc491ea78195bffe1cb76.tar.xz
remove warnings: function declaration isn’t a prototype
Diffstat (limited to 'capplets/appearance')
-rw-r--r--capplets/appearance/appearance-support.c2
-rw-r--r--capplets/appearance/appearance-themes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-support.c b/capplets/appearance/appearance-support.c
index 4f46ed97..7ea705e3 100644
--- a/capplets/appearance/appearance-support.c
+++ b/capplets/appearance/appearance-support.c
@@ -40,7 +40,7 @@ is_program_in_path (const char *program)
}
static gboolean
-metacity_is_running()
+metacity_is_running(void)
{
gboolean is_running = FALSE;
gchar *current_wm = NULL;
diff --git a/capplets/appearance/appearance-themes.c b/capplets/appearance/appearance-themes.c
index 732c079c..a1cfdd62 100644
--- a/capplets/appearance/appearance-themes.c
+++ b/capplets/appearance/appearance-themes.c
@@ -187,7 +187,7 @@ static void theme_changed_on_disk_cb(MateThemeCommonInfo* theme, MateThemeChange
}
/* Find out if the lockdown key has been set. */
-static gboolean is_locked_down()
+static gboolean is_locked_down(void)
{
gboolean is_locked;
GSettings *settings;