another bit of cleanup

svn path=/trunk/; revision=7421
This commit is contained in:
Sergey V. Udaltsov 2007-03-24 00:23:57 +00:00
parent d173601ca5
commit b6e1fdf6e9
2 changed files with 3 additions and 14 deletions

View file

@ -37,18 +37,10 @@ extern GkbdKeyboardConfig initial_config;
extern void setup_xkb_tabs (GladeXML * dialog, GConfChangeSet * changeset); extern void setup_xkb_tabs (GladeXML * dialog, GConfChangeSet * changeset);
extern void xkb_layouts_fill_available_tree (GladeXML * dialog);
extern void xkb_options_fill_available_tree (GladeXML * dialog);
extern void xkb_layouts_fill_selected_tree (GladeXML * dialog); extern void xkb_layouts_fill_selected_tree (GladeXML * dialog);
extern void xkb_options_fill_selected_tree (GladeXML * dialog);
extern void xkb_layouts_register_buttons_handlers (GladeXML * dialog); extern void xkb_layouts_register_buttons_handlers (GladeXML * dialog);
extern void xkb_options_register_buttons_handlers (GladeXML * dialog);
extern void xkb_layouts_register_gconf_listener (GladeXML * dialog); extern void xkb_layouts_register_gconf_listener (GladeXML * dialog);
extern void xkb_options_register_gconf_listener (GladeXML * dialog); extern void xkb_options_register_gconf_listener (GladeXML * dialog);
@ -56,16 +48,12 @@ extern void xkb_options_register_gconf_listener (GladeXML * dialog);
extern void xkb_layouts_prepare_selected_tree (GladeXML * dialog, extern void xkb_layouts_prepare_selected_tree (GladeXML * dialog,
GConfChangeSet * changeset); GConfChangeSet * changeset);
extern void xkb_options_prepare_selected_tree (GladeXML * dialog);
extern void xkb_options_load_options (GladeXML * dialog); extern void xkb_options_load_options (GladeXML * dialog);
extern void clear_xkb_elements_list (GSList * list); extern void clear_xkb_elements_list (GSList * list);
extern char *xci_desc_to_utf8 (XklConfigItem * ci); extern char *xci_desc_to_utf8 (XklConfigItem * ci);
extern void sort_tree_content (GtkWidget * tree_view);
extern void enable_disable_restoring (GladeXML * dialog); extern void enable_disable_restoring (GladeXML * dialog);
extern void preview_toggled (GladeXML * dialog, GtkWidget * button); extern void preview_toggled (GladeXML * dialog, GtkWidget * button);
@ -78,6 +66,7 @@ extern void xkb_layouts_enable_disable_default (GladeXML * dialog,
gboolean enable); gboolean enable);
extern GSList *xkb_layouts_get_selected_list (void); extern GSList *xkb_layouts_get_selected_list (void);
extern GSList *xkb_options_get_selected_list (void); extern GSList *xkb_options_get_selected_list (void);
#define xkb_layouts_set_selected_list(list) \ #define xkb_layouts_set_selected_list(list) \

View file

@ -117,7 +117,7 @@ xkb_layout_chooser_selection_changed (GladeXML * chooser_dialog)
xkb_layout_chooser_enable_disable_buttons (chooser_dialog); xkb_layout_chooser_enable_disable_buttons (chooser_dialog);
} }
void static void
sort_tree_content (GtkWidget * tree_view) sort_tree_content (GtkWidget * tree_view)
{ {
GtkTreeModel *tree_model = GtkTreeModel *tree_model =
@ -133,7 +133,7 @@ sort_tree_content (GtkWidget * tree_view)
sorted_tree_model); sorted_tree_model);
} }
void static void
xkb_layouts_fill_available_tree (GladeXML * chooser_dialog) xkb_layouts_fill_available_tree (GladeXML * chooser_dialog)
{ {
GtkTreeStore *tree_store = GtkTreeStore *tree_store =