Fix old-style function declarations.

This commit is contained in:
Jannis Pohlmann
2011-05-25 17:57:43 +02:00
parent 5ff6545852
commit 0ff08c3a95
2 changed files with 3 additions and 3 deletions

View File

@@ -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 ();

View File

@@ -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 ();