[gtk+/native-layout] Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
- Date: Sun, 4 Apr 2010 02:06:45 +0000 (UTC)
commit 2336ebca5c4154b24b678d632c141d9015a14b7f
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]