[giggle] Use GDK symbolic names for the return value of a GSourceFunc



commit 4202bc7a98abd1feb3a9c5d96a44efa63c1ceab1
Author: Javier JardÃn <jjardon gnome org>
Date:   Tue Feb 7 21:19:32 2012 +0100

    Use GDK symbolic names for the return value of a GSourceFunc

 src/giggle-clone-dialog.c |    2 +-
 src/test-dispatcher.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/giggle-clone-dialog.c b/src/giggle-clone-dialog.c
index 124181f..7a32f92 100644
--- a/src/giggle-clone-dialog.c
+++ b/src/giggle-clone-dialog.c
@@ -96,7 +96,7 @@ update_progress_bar (gpointer data)
 	dialog = GIGGLE_CLONE_DIALOG (data);
 	gtk_progress_bar_pulse (GTK_PROGRESS_BAR (dialog->priv->progress_bar));
 
-	return TRUE;
+	return G_SOURCE_CONTINUE;
 }
 
 static gchar *
diff --git a/src/test-dispatcher.c b/src/test-dispatcher.c
index 858e3ae..161b267 100644
--- a/src/test-dispatcher.c
+++ b/src/test-dispatcher.c
@@ -32,7 +32,7 @@ timeout_cancel (gpointer data)
 
 	giggle_dispatcher_cancel (dispatcher, id);
 
-	return FALSE;
+	return G_SOURCE_REMOVE;
 }
 
 int



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]