summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-28 12:02:37 +0200
committerJasmine Hassan <[email protected]>2012-12-22 04:50:52 +0200
commit46af99b44e1d2f4fc3315753bcc46f78476de823 (patch)
tree438a8af41abec5a3281dfa8f7b9a00305b529000
parent02affdac18a1e985b1d4cee084b3e713904ce307 (diff)
downloadcaja-46af99b44e1d2f4fc3315753bcc46f78476de823.tar.bz2
caja-46af99b44e1d2f4fc3315753bcc46f78476de823.tar.xz
[general] Use GSourceFunc instead of GtkFunction
http://git.gnome.org/browse/nautilus/commit/?id=a5caa0e98c844a23656cafaa9b6f985dada7bc51
-rw-r--r--libcaja-private/caja-dnd.c2
-rw-r--r--libcaja-private/caja-dnd.h2
-rw-r--r--libcaja-private/caja-icon-container.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libcaja-private/caja-dnd.c b/libcaja-private/caja-dnd.c
index 5943f041..792b3e79 100644
--- a/libcaja-private/caja-dnd.c
+++ b/libcaja-private/caja-dnd.c
@@ -1040,7 +1040,7 @@ caja_drag_autoscroll_calculate_delta (GtkWidget *widget, float *x_scroll_delta,
void
caja_drag_autoscroll_start (CajaDragInfo *drag_info,
GtkWidget *widget,
- GtkFunction callback,
+ GSourceFunc callback,
gpointer user_data)
{
if (caja_drag_autoscroll_in_scroll_region (widget))
diff --git a/libcaja-private/caja-dnd.h b/libcaja-private/caja-dnd.h
index b9a74382..85330a02 100644
--- a/libcaja-private/caja-dnd.h
+++ b/libcaja-private/caja-dnd.h
@@ -188,7 +188,7 @@ void caja_drag_autoscroll_calculate_delta (GtkWidget *widget,
float *y_scroll_delta);
void caja_drag_autoscroll_start (CajaDragInfo *drag_info,
GtkWidget *widget,
- GtkFunction callback,
+ GSourceFunc callback,
gpointer user_data);
void caja_drag_autoscroll_stop (CajaDragInfo *drag_info);
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 5b65e2a2..fcb3ab46 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -4964,7 +4964,7 @@ continue_stretching (CajaIconContainer *container,
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);
}
}