diff --git a/gtk/favicon.c b/gtk/favicon.c index ec9df77a2..46bd7aa57 100644 --- a/gtk/favicon.c +++ b/gtk/favicon.c @@ -124,7 +124,7 @@ favicon_web_done_idle_cb (gpointer vfav) g_free (fav); } - return FALSE; + return G_SOURCE_REMOVE; } static void diff --git a/gtk/tr-core.c b/gtk/tr-core.c index 75d196e72..1fef5b4cf 100644 --- a/gtk/tr-core.c +++ b/gtk/tr-core.c @@ -933,7 +933,7 @@ on_torrent_completeness_changed_idle (gpointer gdata) gtr_notify_torrent_completed (data->core, data->torrent_id); g_object_unref (G_OBJECT (data->core)); g_free (data); - return FALSE; + return G_SOURCE_REMOVE; } /* this is called in the libtransmission thread, *NOT* the GTK+ thread, @@ -1019,7 +1019,7 @@ on_torrent_metadata_changed_idle (gpointer gdata) /* cleanup */ g_object_unref (G_OBJECT (data->core)); g_free (data); - return FALSE; + return G_SOURCE_REMOVE; } /* this is called in the libtransmission thread, *NOT* the GTK+ thread, @@ -1746,7 +1746,7 @@ core_read_rpc_response_idle (void * vresponse) tr_variantFree (&top); evbuffer_free (response); - return FALSE; + return G_SOURCE_REMOVE; } static void diff --git a/gtk/tr-window.c b/gtk/tr-window.c index 1fdf0a118..0b6b48485 100644 --- a/gtk/tr-window.c +++ b/gtk/tr-window.c @@ -361,7 +361,7 @@ onAltSpeedToggledIdle (gpointer vp) gboolean b = tr_sessionUsesAltSpeed (gtr_core_session (p->core)); gtr_core_set_pref_bool (p->core, TR_KEY_alt_speed_enabled, b); - return FALSE; + return G_SOURCE_REMOVE; } static void