summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-13 14:05:01 +0100
committerinfirit <[email protected]>2014-12-13 18:32:16 +0100
commit11444836c67e6a34e58cf03847e45a5d0a209032 (patch)
treecf08603c45cbda6b1b8735a3e38fc813ac0688f0 /plugins
parentc51b75b6f92347214e601501212fc7269f6085af (diff)
downloadmate-settings-daemon-11444836c67e6a34e58cf03847e45a5d0a209032.tar.bz2
mate-settings-daemon-11444836c67e6a34e58cf03847e45a5d0a209032.tar.xz
housekeeping: Fix compile-time warning
Taken from GSD commit: 5fec0799987ef93077c1d823eb2e7bb9e95dc976 From: Bastien Nocera <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/housekeeping/msd-ldsm-trash-empty.c2
-rw-r--r--plugins/housekeeping/msd-ldsm-trash-empty.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-ldsm-trash-empty.c b/plugins/housekeeping/msd-ldsm-trash-empty.c
index 69a8a42..1909f30 100644
--- a/plugins/housekeeping/msd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/msd-ldsm-trash-empty.c
@@ -378,7 +378,7 @@ trash_empty_show_confirmation_dialog ()
}
void
-msd_ldsm_trash_empty ()
+msd_ldsm_trash_empty (void)
{
if (trash_empty_confirm_dialog)
gtk_window_present (GTK_WINDOW (trash_empty_confirm_dialog));
diff --git a/plugins/housekeeping/msd-ldsm-trash-empty.h b/plugins/housekeeping/msd-ldsm-trash-empty.h
index 85b09c0..c65b55c 100644
--- a/plugins/housekeeping/msd-ldsm-trash-empty.h
+++ b/plugins/housekeeping/msd-ldsm-trash-empty.h
@@ -22,6 +22,6 @@
#include <gtk/gtk.h>
-void msd_ldsm_trash_empty ();
+void msd_ldsm_trash_empty (void);
#endif /* _msd_ldsm_trash_empty_h_ */