[gnome-settings-daemon] housekeeping: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] housekeeping: Fix compile-time warning
- Date: Tue, 19 Oct 2010 13:43:56 +0000 (UTC)
commit 5fec0799987ef93077c1d823eb2e7bb9e95dc976
Author: Bastien Nocera <hadess hadess net>
Date: Tue Oct 19 14:43:15 2010 +0100
housekeeping: Fix compile-time warning
gsd_ldsm_trash_empty() needs void in the args, or the compiler
will complain.
plugins/housekeeping/gsd-ldsm-trash-empty.c | 2 +-
plugins/housekeeping/gsd-ldsm-trash-empty.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-ldsm-trash-empty.c b/plugins/housekeeping/gsd-ldsm-trash-empty.c
index d97b96c..5050810 100644
--- a/plugins/housekeeping/gsd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/gsd-ldsm-trash-empty.c
@@ -384,7 +384,7 @@ trash_empty_show_confirmation_dialog ()
}
void
-gsd_ldsm_trash_empty ()
+gsd_ldsm_trash_empty (void)
{
if (trash_empty_confirm_dialog)
gtk_window_present (GTK_WINDOW (trash_empty_confirm_dialog));
diff --git a/plugins/housekeeping/gsd-ldsm-trash-empty.h b/plugins/housekeeping/gsd-ldsm-trash-empty.h
index 4d46a5b..8a03365 100644
--- a/plugins/housekeeping/gsd-ldsm-trash-empty.h
+++ b/plugins/housekeeping/gsd-ldsm-trash-empty.h
@@ -22,6 +22,6 @@
#include <gtk/gtk.h>
-void gsd_ldsm_trash_empty ();
+void gsd_ldsm_trash_empty (void);
#endif /* _gsd_ldsm_trash_empty_h_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]