summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 30957f4bf..a4c4497be 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -377,13 +377,13 @@ gtk_exit (int errorcode)
}
gchar*
-gtk_set_locale ()
+gtk_set_locale (void)
{
return gdk_set_locale ();
}
void
-gtk_main ()
+gtk_main (void)
{
GList *tmp_list;
GList *functions;
@@ -454,7 +454,7 @@ gtk_main_level (void)
}
void
-gtk_main_quit ()
+gtk_main_quit (void)
{
iteration_done = TRUE;
}
@@ -498,7 +498,7 @@ gtk_events_pending (void)
}
gint
-gtk_main_iteration ()
+gtk_main_iteration (void)
{
return gtk_main_iteration_do (TRUE);
}
@@ -1314,7 +1314,7 @@ gtk_input_remove (guint tag)
}
GdkEvent *
-gtk_get_current_event ()
+gtk_get_current_event (void)
{
if (current_events)
return gdk_event_copy ((GdkEvent *) current_events->data);
@@ -1335,7 +1335,7 @@ gtk_get_event_widget (GdkEvent *event)
}
static void
-gtk_exit_func ()
+gtk_exit_func (void)
{
if (initialized)
{
@@ -1430,7 +1430,7 @@ gtk_handle_current_timeouts (guint32 the_time)
}
static void
-gtk_handle_timeouts ()
+gtk_handle_timeouts (void)
{
guint32 the_time;
GList *tmp_list;
@@ -1512,7 +1512,7 @@ gtk_idle_invoke_function (GtkIdleFunction *idlef)
}
static void
-gtk_handle_current_idles ()
+gtk_handle_current_idles (void)
{
GList *tmp_list;
GList *tmp_list2;
@@ -1574,7 +1574,7 @@ gtk_handle_current_idles ()
}
static void
-gtk_handle_idle ()
+gtk_handle_idle (void)
{
/* Caller must already have called gtk_handle_current_idles if
* necessary
@@ -1608,7 +1608,7 @@ gtk_handle_idle ()
}
static void
-gtk_handle_timer ()
+gtk_handle_timer (void)
{
GtkTimeoutFunction *timeoutf;