[gnome-control-center] Use GSourceFunc() instead GtkFunction() in g_timeout_add()
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Use GSourceFunc() instead GtkFunction() in g_timeout_add()
- Date: Thu, 14 Oct 2010 02:39:10 +0000 (UTC)
commit a533ac968c1aa82feb0f6511a2c9f224c2d676a2
Author: Javier Jardón <jjardon gnome org>
Date: Thu Oct 14 04:37:57 2010 +0200
Use GSourceFunc() instead GtkFunction() in g_timeout_add()
panels/mouse/gnome-mouse-properties.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index 30aed0b..080cf1c 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -243,14 +243,14 @@ event_box_button_press_event (GtkWidget *widget,
double_click_state = DOUBLE_CLICK_TEST_MAYBE;
data.image = image;
data.timeout_id = &test_maybe_timeout_id;
- test_maybe_timeout_id = g_timeout_add (double_click_time, (GtkFunction) test_maybe_timeout, &data);
+ test_maybe_timeout_id = g_timeout_add (double_click_time, (GSourceFunc) test_maybe_timeout, &data);
break;
case DOUBLE_CLICK_TEST_MAYBE:
if (event->time - double_click_timestamp < double_click_time) {
double_click_state = DOUBLE_CLICK_TEST_ON;
data.image = image;
data.timeout_id = &test_on_timeout_id;
- test_on_timeout_id = g_timeout_add (2500, (GtkFunction) test_maybe_timeout, &data);
+ test_on_timeout_id = g_timeout_add (2500, (GSourceFunc) test_maybe_timeout, &data);
}
break;
case DOUBLE_CLICK_TEST_ON:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]