[planner] Remove deprecated gtk_timeout_add.



commit 6cb85e5c91daca754c63eb8a73793060cd68a400
Author: Luis Menina <liberforce freeside fr>
Date:   Sat Mar 2 20:13:05 2013 +0100

    Remove deprecated gtk_timeout_add.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=575129

 src/planner-gantt-row.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/planner-gantt-row.c b/src/planner-gantt-row.c
index 3016cf3..a981d10 100644
--- a/src/planner-gantt-row.c
+++ b/src/planner-gantt-row.c
@@ -2648,7 +2648,7 @@ gantt_row_event (GnomeCanvasItem *item, GdkEvent *event)
                                }
 
                                /* Start the autoscroll timeout. */
-                               priv->scroll_timeout_id = gtk_timeout_add (
+                               priv->scroll_timeout_id = g_timeout_add (
                                        50,
                                        (GSourceFunc) gantt_row_scroll_timeout_cb,
                                        row);
@@ -2690,7 +2690,7 @@ gantt_row_event (GnomeCanvasItem *item, GdkEvent *event)
                                }
 
                                /* Start the autoscroll timeout. */
-                               priv->scroll_timeout_id = gtk_timeout_add (
+                               priv->scroll_timeout_id = g_timeout_add (
                                        50,
                                        (GSourceFunc) gantt_row_scroll_timeout_cb,
                                        row);
@@ -2722,7 +2722,7 @@ gantt_row_event (GnomeCanvasItem *item, GdkEvent *event)
                                old_target_item = NULL;
 
                                /* Start the autoscroll timeout. */
-                               priv->scroll_timeout_id = gtk_timeout_add (
+                               priv->scroll_timeout_id = g_timeout_add (
                                        50,
                                        (GSourceFunc) gantt_row_scroll_timeout_cb,
                                        row);


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