summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-06 16:54:49 +0100
committerlukefromdc <[email protected]>2020-02-17 06:24:40 +0000
commitd8da4cf285fd43e24793e7a58876020ac7dbe12f (patch)
treeac1c3484a4a3e7deb2cce62067dd14f008069a72
parent308cbebae0328bc64d2bc54836ee187f25d88f0a (diff)
downloadmate-panel-d8da4cf285fd43e24793e7a58876020ac7dbe12f.tar.bz2
mate-panel-d8da4cf285fd43e24793e7a58876020ac7dbe12f.tar.xz
Remove warnings: function declaration isn’t a prototype
-rw-r--r--mate-panel/panel-background.c2
-rw-r--r--mate-panel/panel-layout.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index c9bf65fd..89ffc592 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -74,7 +74,7 @@ void panel_background_apply_css (PanelBackground *background, GtkWidget *widget)
}
static void
-panel_background_prepare_css ()
+panel_background_prepare_css (void)
{
GtkCssProvider *provider;
diff --git a/mate-panel/panel-layout.c b/mate-panel/panel-layout.c
index fba28f69..56ad2127 100644
--- a/mate-panel/panel-layout.c
+++ b/mate-panel/panel-layout.c
@@ -94,7 +94,7 @@ static PanelLayoutKeyDefinition panel_layout_object_keys[] = {
* distributions
*/
static gchar *
-panel_layout_filename ()
+panel_layout_filename (void)
{
GSettings *settings;
gchar *layout;