[gtk+/quartz-integration: 366/563] gail: Remove useless code



commit 9509c635367d68c46fcaf91bd4335895cb903ec8
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jun 21 13:16:11 2011 +0200

    gail: Remove useless code
    
    The ATK default code does the same thing as these two functions.

 gtk/a11y/gailscalebutton.c |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/gtk/a11y/gailscalebutton.c b/gtk/a11y/gailscalebutton.c
index 38f9af8..d145eac 100644
--- a/gtk/a11y/gailscalebutton.c
+++ b/gtk/a11y/gailscalebutton.c
@@ -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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]