diff options
author | Julien de Kozak <jdekozak@hotmail.com> | 2013-03-24 14:55:56 +0100 |
---|---|---|
committer | Julien de Kozak <jdekozak@hotmail.com> | 2013-03-30 18:09:40 +0100 |
commit | 27d77b8719c15254369391e57227d20c4cfcbb20 (patch) | |
tree | 363073c33ff720705caff6554c750f0b1c2a6003 /libs/clearlooks-newer/animation.c | |
parent | deaceb4727effced797ecac67fa55e5eef75b003 (diff) |
Fix some compilation warnings
Diffstat (limited to 'libs/clearlooks-newer/animation.c')
-rw-r--r-- | libs/clearlooks-newer/animation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/clearlooks-newer/animation.c b/libs/clearlooks-newer/animation.c index 24766aa907..2c6a6fdc42 100644 --- a/libs/clearlooks-newer/animation.c +++ b/libs/clearlooks-newer/animation.c @@ -63,7 +63,7 @@ force_widget_redraw (GtkWidget *widget) /* ensures that the timer is running */ static void -start_timer () +start_timer (void) { if (animation_timer_id == 0) animation_timer_id = g_timeout_add (ANIMATION_DELAY, animation_timeout_handler, NULL); @@ -71,7 +71,7 @@ start_timer () /* ensures that the timer is stopped */ static void -stop_timer () +stop_timer (void) { if (animation_timer_id != 0) { @@ -243,7 +243,7 @@ on_connected_widget_destruction (gpointer data, GObject *widget) } static void -disconnect_all_signals () +disconnect_all_signals (void) { GSList * item = connected_widgets; while (item != NULL) @@ -265,7 +265,7 @@ disconnect_all_signals () static gint find_signal_info (gconstpointer signal_info, gconstpointer widget) { - if (((SignalInfo*)signal_info)->widget == widget) + if (((const SignalInfo*)signal_info)->widget == widget) return 0; else return 1; @@ -325,7 +325,7 @@ clearlooks_animation_elapsed (gpointer data) /* cleans up all resources of the animation system */ void -clearlooks_animation_cleanup () +clearlooks_animation_cleanup (void) { disconnect_all_signals (); |