[Xfce4-commits] <xfce4-xkb-plugin:master> Delete an unused function.

Igor Slepchin noreply at xfce.org
Wed Aug 22 23:24:12 CEST 2012


Updating branch refs/heads/master
         to 67c86b0294aa5f79f14f122be94dcc5aae68c5cf (commit)
       from 7def538702e33dac1477692721d337ca1d6629e8 (commit)

commit 67c86b0294aa5f79f14f122be94dcc5aae68c5cf
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date:   Tue Jul 24 01:15:13 2012 -0400

    Delete an unused function.

 panel-plugin/xkb-config.c |    8 --------
 panel-plugin/xkb-config.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/panel-plugin/xkb-config.c b/panel-plugin/xkb-config.c
index f8c5b65..63f5108 100644
--- a/panel-plugin/xkb-config.c
+++ b/panel-plugin/xkb-config.c
@@ -496,11 +496,3 @@ xkb_config_get_xkl_registry (void)
     return registry;
 }
 
-gint
-xkb_config_get_max_layout_number (void)
-{
-    if (config == NULL) return 0;
-
-    return xkl_engine_get_max_num_groups (config->engine);
-}
-
diff --git a/panel-plugin/xkb-config.h b/panel-plugin/xkb-config.h
index dbdb974..0eee773 100644
--- a/panel-plugin/xkb-config.h
+++ b/panel-plugin/xkb-config.h
@@ -66,7 +66,6 @@ void              xkb_config_window_closed                (guint window_id);
 /* TODO: remove this function - xkl structures should not be used outside xkb-config */
 XklConfigRegistry*
                   xkb_config_get_xkl_registry             (void);
-gint              xkb_config_get_max_layout_number        (void);
 
 #ifdef DEBUG
 


More information about the Xfce4-commits mailing list