Changeset 701
- Timestamp:
- 01/01/10 14:46:09 (2 years ago)
- Files:
-
- sweep/trunk/src/file_speex.c (modified) (2 diffs)
- sweep/trunk/src/main.c (modified) (1 diff)
- sweep/trunk/src/sweep_undo.c (modified) (1 diff)
- sweep/trunk/src/timeouts.c (modified) (2 diffs)
- sweep/trunk/src/view.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sweep/trunk/src/file_speex.c
r691 r701 1480 1480 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(checkbutton), FALSE); 1481 1481 1482 tag = g tk_timeout_add (30, randomise_serialno, data);1482 tag = g_timeout_add (30, randomise_serialno, data); 1483 1483 g_object_set_data (G_OBJECT(widget), "tag", GINT_TO_POINTER(tag)); 1484 1484 } … … 1490 1490 1491 1491 tag = GPOINTER_TO_INT(g_object_get_data (G_OBJECT(widget), "tag")); 1492 g tk_timeout_remove (tag);1492 g_source_remove (tag); 1493 1493 } 1494 1494 sweep/trunk/src/main.c
r688 r701 132 132 133 133 134 /* must be done before g_idle_add / g tk_timeout_add */134 /* must be done before g_idle_add / g_timeout_add */ 135 135 sweep_timeouts_init (); 136 136 sweep/trunk/src/sweep_undo.c
r691 r701 280 280 if (sample->op_progress_tag == -1) { 281 281 sample->op_progress_tag = 282 g tk_timeout_add (30, (GtkFunction)update_edit_progress,282 g_timeout_add (30, (GtkFunction)update_edit_progress, 283 283 (gpointer)sample); 284 284 } sweep/trunk/src/timeouts.c
r694 r701 82 82 g_assert (td->gtk_tag != -1); 83 83 84 g tk_timeout_remove (td->gtk_tag);84 g_source_remove (td->gtk_tag); 85 85 timeouts = g_list_remove_link (timeouts, gl); 86 86 g_free (td); 87 87 } else if (td->gtk_tag == -1) { 88 td->gtk_tag = g tk_timeout_add (td->interval, sweep_timeout_wrapper, td);88 td->gtk_tag = g_timeout_add (td->interval, sweep_timeout_wrapper, td); 89 89 } 90 90 } … … 106 106 g_mutex_unlock (timeouts_mutex); 107 107 108 g tk_timeout_add ((guint32)500, sweep_timeouts_handle_pending, NULL);108 g_timeout_add ((guint32)500, sweep_timeouts_handle_pending, NULL); 109 109 } 110 110 sweep/trunk/src/view.c
r700 r701 1295 1295 1296 1296 if (view->sample->op_progress_tag != -1) 1297 gtk_timeout_remove(view->sample->op_progress_tag); 1297 g_source_remove(view->sample->op_progress_tag); 1298 view->sample->op_progress_tag = -1; 1298 1299 cancel_active_op (view->sample); 1299 1300 sample_remove_view(view->sample, view);
