[gnome-applets] window-buttons: fix -Wold-style-definition warnings



commit b832042c35f4307e4f80b6c36643ea9564bf0a58
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Apr 3 21:48:53 2020 +0300

    window-buttons: fix -Wold-style-definition warnings

 gnome-applets/window-buttons/external.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnome-applets/window-buttons/external.c b/gnome-applets/window-buttons/external.c
index 4a6274dd0..1b438d0de 100755
--- a/gnome-applets/window-buttons/external.c
+++ b/gnome-applets/window-buttons/external.c
@@ -50,7 +50,9 @@ static gboolean decorPluginInstalled (void) {
                && gsettings_schema_exists(GSETTINGS_COMPIZ_DECOR_SCHEMA);
 }
 
-gchar *getMetacityLayout() {
+gchar *
+getMetacityLayout (void)
+{
        GSettings *gs = g_settings_new(GSETTINGS_METACITY_SCHEMA);
        gchar *retval = g_settings_get_string(gs, CFG_METACITY_BUTTON_LAYOUT);
        g_object_unref(gs);
@@ -58,7 +60,7 @@ gchar *getMetacityLayout() {
 }
 
 gboolean
-issetCompizDecoration ()
+issetCompizDecoration (void)
 {
        gboolean retval;
        GSettings *settings;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]