[gnome-shell] shell: Don't avoid parameter list
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell: Don't avoid parameter list
- Date: Wed, 23 Sep 2015 19:56:04 +0000 (UTC)
commit 52995416fd524ec1392c8b8b14a8fc233496bf0d
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 23 20:40:03 2015 +0200
shell: Don't avoid parameter list
Meh, C ...
src/shell-app-system.c | 2 +-
src/shell-app-usage.c | 2 +-
src/shell-util.c | 2 +-
src/shell-window-tracker.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 3772e64..a6ddbf2 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -182,7 +182,7 @@ shell_app_system_finalize (GObject *object)
* Return Value: (transfer none): The global #ShellAppSystem singleton
*/
ShellAppSystem *
-shell_app_system_get_default ()
+shell_app_system_get_default (void)
{
static ShellAppSystem *instance = NULL;
diff --git a/src/shell-app-usage.c b/src/shell-app-usage.c
index 7990281..63c6d58 100644
--- a/src/shell-app-usage.c
+++ b/src/shell-app-usage.c
@@ -996,7 +996,7 @@ on_enable_monitoring_key_changed (GSettings *settings,
* Return Value: (transfer none): The global #ShellAppUsage instance
*/
ShellAppUsage *
-shell_app_usage_get_default ()
+shell_app_usage_get_default (void)
{
static ShellAppUsage *instance;
diff --git a/src/shell-util.c b/src/shell-util.c
index ab8a0ce..e5447c2 100644
--- a/src/shell-util.c
+++ b/src/shell-util.c
@@ -165,7 +165,7 @@ shell_util_format_date (const char *format,
*/
/* Copied from gtkcalendar.c */
int
-shell_util_get_week_start ()
+shell_util_get_week_start (void)
{
int week_start;
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
index a4d804d..ad1219c 100644
--- a/src/shell-window-tracker.c
+++ b/src/shell-window-tracker.c
@@ -865,7 +865,7 @@ shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size)
* Return Value: (transfer none): The global #ShellWindowTracker instance
*/
ShellWindowTracker *
-shell_window_tracker_get_default ()
+shell_window_tracker_get_default (void)
{
static ShellWindowTracker *instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]