[Xfce4-commits] <xfce4-taskmanager:master> Fix old-style function declarations.
Jannis Pohlmann
noreply at xfce.org
Wed May 25 18:00:01 CEST 2011
Updating branch refs/heads/master
to 0ff08c3a95dc08bb4dd172291a34464d77043f86 (commit)
from 5ff6545852a7f6d98a4a3833a8feee35b8528a12 (commit)
commit 0ff08c3a95dc08bb4dd172291a34464d77043f86
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Wed May 25 17:57:43 2011 +0200
Fix old-style function declarations.
src/exec-tool-button.c | 4 ++--
src/settings-tool-button.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/exec-tool-button.c b/src/exec-tool-button.c
index b68a788..f814ff5 100644
--- a/src/exec-tool-button.c
+++ b/src/exec-tool-button.c
@@ -104,7 +104,7 @@ program_exists (gchar *program)
}
static void
-execute_default_command ()
+execute_default_command (void)
{
static gchar *command = NULL;
@@ -152,7 +152,7 @@ menu_append_item (GtkMenu *menu, gchar *title, gchar *command, gchar *icon_name)
}
static inline GtkWidget *
-construct_menu ()
+construct_menu (void)
{
GtkWidget *menu = gtk_menu_new ();
diff --git a/src/settings-tool-button.c b/src/settings-tool-button.c
index 44bbe2a..b7f29e5 100644
--- a/src/settings-tool-button.c
+++ b/src/settings-tool-button.c
@@ -154,7 +154,7 @@ menu_append_item (GtkMenu *menu, gchar *title, gchar *setting_name, XtmSettings
}
static inline GtkWidget *
-construct_menu ()
+construct_menu (void)
{
XtmSettings *settings = xtm_settings_get_default ();
GtkWidget *menu = gtk_menu_new ();
More information about the Xfce4-commits
mailing list