[gtk+] Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
- From: Christian Dywan <cdywan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
- Date: Thu, 17 Dec 2009 09:41:47 +0000 (UTC)
commit 99f63451e07ad1406dda789654a8dd58206940e1
Author: Christian Dywan <christian twotoasts de>
Date: Thu Dec 17 10:41:11 2009 +0100
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
modules/other/gail/gailwidget.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/modules/other/gail/gailwidget.c b/modules/other/gail/gailwidget.c
index 9493fc4..f81550d 100644
--- a/modules/other/gail/gailwidget.c
+++ b/modules/other/gail/gailwidget.c
@@ -243,7 +243,6 @@ gail_widget_get_description (AtkObject *accessible)
{
/* Get the tooltip from the widget */
GtkAccessible *obj = GTK_ACCESSIBLE (accessible);
- GtkTooltipsData *data;
gail_return_val_if_fail (obj, NULL);
@@ -254,12 +253,8 @@ gail_widget_get_description (AtkObject *accessible)
return NULL;
gail_return_val_if_fail (GTK_WIDGET (obj->widget), NULL);
-
- data = gtk_tooltips_data_get (obj->widget);
- if (data == NULL)
- return NULL;
- return data->tip_text;
+ return gtk_widget_get_tooltip_text (obj->widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]