[nautilus] Use GSourceFunc instead GtkFunction
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Use GSourceFunc instead GtkFunction
- Date: Tue, 16 Nov 2010 04:54:38 +0000 (UTC)
commit a5caa0e98c844a23656cafaa9b6f985dada7bc51
Author: Javier Jardón <jjardon gnome org>
Date: Tue Nov 16 05:53:54 2010 +0100
Use GSourceFunc instead GtkFunction
libnautilus-private/nautilus-dnd.c | 2 +-
libnautilus-private/nautilus-dnd.h | 2 +-
libnautilus-private/nautilus-icon-container.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-private/nautilus-dnd.c b/libnautilus-private/nautilus-dnd.c
index 89c2bcc..ec6d0bf 100644
--- a/libnautilus-private/nautilus-dnd.c
+++ b/libnautilus-private/nautilus-dnd.c
@@ -910,7 +910,7 @@ nautilus_drag_autoscroll_calculate_delta (GtkWidget *widget, float *x_scroll_del
void
nautilus_drag_autoscroll_start (NautilusDragInfo *drag_info,
GtkWidget *widget,
- GtkFunction callback,
+ GSourceFunc callback,
gpointer user_data)
{
if (nautilus_drag_autoscroll_in_scroll_region (widget)) {
diff --git a/libnautilus-private/nautilus-dnd.h b/libnautilus-private/nautilus-dnd.h
index bb231ef..ab30c75 100644
--- a/libnautilus-private/nautilus-dnd.h
+++ b/libnautilus-private/nautilus-dnd.h
@@ -173,7 +173,7 @@ void nautilus_drag_autoscroll_calculate_delta (GtkWidget *widget,
float *y_scroll_delta);
void nautilus_drag_autoscroll_start (NautilusDragInfo *drag_info,
GtkWidget *widget,
- GtkFunction callback,
+ GSourceFunc callback,
gpointer user_data);
void nautilus_drag_autoscroll_stop (NautilusDragInfo *drag_info);
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index bed13a0..cbb977d 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4536,7 +4536,7 @@ continue_stretching (NautilusIconContainer *container,
container->details->world_y = world_y;
if (container->details->stretch_idle_id == 0) {
- container->details->stretch_idle_id = g_idle_add ((GtkFunction) update_stretch_at_idle, container);
+ container->details->stretch_idle_id = g_idle_add ((GSourceFunc) update_stretch_at_idle, container);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]