summaryrefslogtreecommitdiff
path: root/capplets
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
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')
-rw-r--r--capplets/appearance/appearance-support.c2
-rw-r--r--capplets/appearance/appearance-themes.c2
-rw-r--r--capplets/common/mate-theme-info.c2
-rw-r--r--capplets/windows/mate-metacity-support.c2
-rw-r--r--capplets/windows/mate-window-properties.c6
5 files changed, 7 insertions, 7 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;
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;