[gedit] Use GSourceFunc() instead GtkFunction() in g_timeout_add()



commit 0aaadf79ac13e8cc48865b7dc4c4e8d1bd08e2bd
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Oct 14 04:46:51 2010 +0200

    Use GSourceFunc() instead GtkFunction() in g_timeout_add()

 gedit/gedit-statusbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-statusbar.c b/gedit/gedit-statusbar.c
index 92a6f23..5e0ac8d 100644
--- a/gedit/gedit-statusbar.c
+++ b/gedit/gedit-statusbar.c
@@ -306,7 +306,7 @@ gedit_statusbar_flash_message (GeditStatusbar *statusbar,
 								msg);
 
 	statusbar->priv->flash_timeout = g_timeout_add (flash_length,
-							(GtkFunction) remove_message_timeout,
+							(GSourceFunc) remove_message_timeout,
 							statusbar);
 
 	g_free (msg);



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