From 9fa0edd9285bd6d43d39f5abc287a61fbb989be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 19 Oct 2010 18:46:07 +0200 Subject: [PATCH] gail: we cant access button->in_button directly now. Commented some code until some gail expert can fix this. --- modules/other/gail/gailbutton.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/other/gail/gailbutton.c b/modules/other/gail/gailbutton.c index 8e0fee4911..8a187261c3 100644 --- a/modules/other/gail/gailbutton.c +++ b/modules/other/gail/gailbutton.c @@ -539,7 +539,9 @@ idle_do_action (gpointer data) case 0: /* first a press */ + /* FIXME: Do not access public member button->in_button = TRUE; + */ g_signal_emit_by_name (button, "enter"); /* * Simulate a button press event. calling gtk_button_pressed() does @@ -557,11 +559,15 @@ idle_do_action (gpointer data) /* then a release */ tmp_event.button.type = GDK_BUTTON_RELEASE; gtk_widget_event (widget, &tmp_event); + /* FIXME: Do not access public member button->in_button = FALSE; + */ g_signal_emit_by_name (button, "leave"); break; case 1: + /* FIXME: Do not access public member button->in_button = TRUE; + */ g_signal_emit_by_name (button, "enter"); /* * Simulate a button press event. calling gtk_button_pressed() does @@ -577,7 +583,9 @@ idle_do_action (gpointer data) gtk_widget_event (widget, &tmp_event); break; case 2: + /* FIXME: Do not access public member button->in_button = FALSE; + */ g_signal_emit_by_name (button, "leave"); break; default: