gail: don't use removed GtkTooltips API

In the absence of new API to port to, left the code in a useless
if(FALSE /* FIXME */) state, for somebody with better gail knowledge
to fix.
This commit is contained in:
Michael Natterer 2010-06-08 21:29:52 +02:00
parent 9959986ecd
commit bffd85c2b7

View File

@ -223,8 +223,8 @@ gail_window_real_initialize (AtkObject *obj,
const gchar *name;
name = gtk_widget_get_name (widget);
if (name && (!strcmp (name, "gtk-tooltip") ||
!strcmp (name, "gtk-tooltips")))
if (!g_strcmp0 (name, "gtk-tooltip"))
obj->role = ATK_ROLE_TOOL_TIP;
else if (GTK_IS_PLUG (widget))
obj->role = ATK_ROLE_PANEL;
@ -416,7 +416,7 @@ gail_window_ref_relation_set (AtkObject *obj)
{
atk_relation_set_remove (relation_set, relation);
}
if (gtk_widget_get_visible(widget) && gtk_tooltips_get_info_from_tip_window (GTK_WINDOW (widget), NULL, &current_widget))
if (gtk_widget_get_visible(widget) && FALSE /* FIXME gtk_tooltips_get_info_from_tip_window (GTK_WINDOW (widget), NULL, &current_widget) */)
{
array [0] = gtk_widget_get_accessible (current_widget);