gail: Remove useless code

The ATK default code does the same thing as these two functions.
This commit is contained in:
Benjamin Otte 2011-06-21 13:16:11 +02:00 committed by Matthias Clasen
parent 317d7a1f54
commit a65cb51d49

View File

@ -46,11 +46,6 @@ static const gchar* gail_scale_button_get_description(AtkAction *action,
gint i);
static const gchar* gail_scale_button_action_get_name(AtkAction *action,
gint i);
static const gchar* gail_scale_button_get_keybinding (AtkAction *action,
gint i);
static gboolean gail_scale_button_set_description(AtkAction *action,
gint i,
const gchar *desc);
/* AtkValue */
static void atk_value_interface_init (AtkValueIface *iface);
@ -123,9 +118,7 @@ atk_action_interface_init (AtkActionIface *iface)
iface->do_action = gail_scale_button_do_action;
iface->get_n_actions = gail_scale_button_get_n_actions;
iface->get_description = gail_scale_button_get_description;
iface->get_keybinding = gail_scale_button_get_keybinding;
iface->get_name = gail_scale_button_action_get_name;
iface->set_description = gail_scale_button_set_description;
}
static gboolean
@ -180,22 +173,6 @@ gail_scale_button_action_get_name (AtkAction *action,
}
}
static const gchar*
gail_scale_button_get_keybinding (AtkAction *action,
gint i)
{
return NULL;
}
static gboolean
gail_scale_button_set_description (AtkAction *action,
gint i,
const gchar *desc)
{
return FALSE;
}
static void
atk_value_interface_init (AtkValueIface *iface)
{