diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-02-28 15:15:05 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-02-28 15:15:05 +0000 |
commit | 5e85711b8c5cf554708a489a7083b102324f1371 (patch) | |
tree | 0044bb86259c940cc7137fb9bf8b38de11fb2493 /libnautilus-private/nautilus-icon-container.c | |
parent | 48c4c00431dbcaecdf05552c390d6fe908e678b4 (diff) | |
download | nautilus-5e85711b8c5cf554708a489a7083b102324f1371.tar.gz |
Don't use deprecated APIs. Patch by iain <iain@prettypeople.org>
2003-02-28 Alexander Larsson <alexl@redhat.com>
* components/throbber/nautilus-throbber.c:
* libnautilus-private/nautilus-bonobo-extensions.c:
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory.c:
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-drag-window.c:
* libnautilus-private/nautilus-entry.c:
* libnautilus-private/nautilus-file-operations-progress.c:
* libnautilus-private/nautilus-icon-canvas-item.c:
* libnautilus-private/nautilus-icon-container.c:
* libnautilus-private/nautilus-metafile.c:
* libnautilus-private/nautilus-tree-view-drag-dest.c:
* libnautilus-private/nautilus-volume-monitor.c:
* libnautilus/nautilus-idle-queue.c:
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-bookmarks-window.c:
* src/nautilus-location-bar.c:
* src/nautilus-main.c:
* src/nautilus-view-frame.c:
* src/nautilus-window-menus.c:
* src/nautilus-window.c:
Don't use deprecated APIs.
Patch by iain <iain@prettypeople.org>
Diffstat (limited to 'libnautilus-private/nautilus-icon-container.c')
-rw-r--r-- | libnautilus-private/nautilus-icon-container.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c index 4417a3510..b3e6560eb 100644 --- a/libnautilus-private/nautilus-icon-container.c +++ b/libnautilus-private/nautilus-icon-container.c @@ -611,7 +611,7 @@ unschedule_keyboard_icon_reveal (NautilusIconContainer *container) details = container->details; if (details->keyboard_icon_reveal_timer_id != 0) { - gtk_timeout_remove (details->keyboard_icon_reveal_timer_id); + g_source_remove (details->keyboard_icon_reveal_timer_id); } } @@ -627,9 +627,9 @@ schedule_keyboard_icon_reveal (NautilusIconContainer *container, details->keyboard_icon_to_reveal = icon; details->keyboard_icon_reveal_timer_id - = gtk_timeout_add (KEYBOARD_ICON_REVEAL_TIMEOUT, - keyboard_icon_reveal_timeout_callback, - container); + = g_timeout_add (KEYBOARD_ICON_REVEAL_TIMEOUT, + keyboard_icon_reveal_timeout_callback, + container); } static void @@ -1309,7 +1309,7 @@ static void unschedule_redo_layout (NautilusIconContainer *container) { if (container->details->idle_id != 0) { - gtk_idle_remove (container->details->idle_id); + g_source_remove (container->details->idle_id); container->details->idle_id = 0; } } @@ -1319,7 +1319,7 @@ schedule_redo_layout (NautilusIconContainer *container) { if (container->details->idle_id == 0 && container->details->has_been_allocated) { - container->details->idle_id = gtk_idle_add + container->details->idle_id = g_idle_add (redo_layout_callback, container); } } @@ -1716,7 +1716,7 @@ start_rubberbanding (NautilusIconContainer *container, band_info->active = TRUE; if (band_info->timer_id == 0) { - band_info->timer_id = gtk_timeout_add + band_info->timer_id = g_timeout_add (RUBBERBAND_TIMEOUT_INTERVAL, rubberband_timeout_callback, container); @@ -1737,7 +1737,7 @@ stop_rubberbanding (NautilusIconContainer *container, band_info = &container->details->rubberband_info; g_assert (band_info->timer_id != 0); - gtk_timeout_remove (band_info->timer_id); + g_source_remove (band_info->timer_id); band_info->timer_id = 0; band_info->active = FALSE; @@ -2395,17 +2395,17 @@ destroy (GtkObject *object) nautilus_icon_container_clear (container); if (container->details->rubberband_info.timer_id != 0) { - gtk_timeout_remove (container->details->rubberband_info.timer_id); + g_source_remove (container->details->rubberband_info.timer_id); container->details->rubberband_info.timer_id = 0; } if (container->details->idle_id != 0) { - gtk_idle_remove (container->details->idle_id); + g_source_remove (container->details->idle_id); container->details->idle_id = 0; } if (container->details->stretch_idle_id != 0) { - gtk_idle_remove (container->details->stretch_idle_id); + g_source_remove (container->details->stretch_idle_id); container->details->stretch_idle_id = 0; } @@ -2697,7 +2697,7 @@ static void remove_context_menu_timeout (NautilusIconContainer *container) { if (container->details->context_menu_timeout_id != 0) { - gtk_timeout_remove (container->details->context_menu_timeout_id); + g_source_remove (container->details->context_menu_timeout_id); container->details->context_menu_timeout_id = 0; } } @@ -2804,7 +2804,7 @@ continue_stretching (NautilusIconContainer *container, container->details->world_y = world_y; if (container->details->stretch_idle_id == 0) { - container->details->stretch_idle_id = gtk_idle_add ((GtkFunction) update_stretch_at_idle, container); + container->details->stretch_idle_id = g_idle_add ((GtkFunction) update_stretch_at_idle, container); } } |