From 7419ff0f54fe9f1489bbc491ea78195bffe1cb76 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 6 Feb 2020 14:30:07 +0100 Subject: =?UTF-8?q?remove=20warnings:=20function=20declaration=20isn?= =?UTF-8?q?=E2=80=99t=20a=20prototype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- capplets/appearance/appearance-support.c | 2 +- capplets/appearance/appearance-themes.c | 2 +- capplets/common/mate-theme-info.c | 2 +- capplets/windows/mate-metacity-support.c | 2 +- capplets/windows/mate-window-properties.c | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'capplets') 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; diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c index e201492e..266bab51 100644 --- a/capplets/common/mate-theme-info.c +++ b/capplets/common/mate-theme-info.c @@ -484,7 +484,7 @@ read_icon_theme (GFile *icon_theme_uri) } static void -add_default_cursor_theme () +add_default_cursor_theme (void) { MateThemeCursorInfo *theme_info; diff --git a/capplets/windows/mate-metacity-support.c b/capplets/windows/mate-metacity-support.c index 77fd1739..2ac8c8aa 100644 --- a/capplets/windows/mate-metacity-support.c +++ b/capplets/windows/mate-metacity-support.c @@ -27,7 +27,7 @@ #define COMPOSITING_KEY "compositing-manager" void -mate_metacity_config_tool () +mate_metacity_config_tool (void) { GSettings *settings; GtkDialog *dialog; diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index ccf377ca..a4513089 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -106,7 +106,7 @@ static int n_mouse_modifiers = 0; static void reload_mouse_modifiers (void); static void -update_sensitivity () +update_sensitivity (void) { gchar *str; @@ -218,7 +218,7 @@ alt_click_radio_toggled_callback (GtkWidget *radio, } static void -set_alt_click_value () +set_alt_click_value (void) { gboolean match_found = FALSE; gchar *mouse_move_modifier; @@ -249,7 +249,7 @@ set_alt_click_value () } static void -wm_unsupported () +wm_unsupported (void) { GtkWidget *no_tool_dialog; -- cgit v1.2.1