diff options
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkbltadd.c')
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbltadd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c index 1edaa666..f8db00d5 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c @@ -155,7 +155,7 @@ xkb_layout_chooser_enable_disable_buttons (GtkBuilder * chooser_dialog) { GtkWidget *cbv = CWID (gtk_notebook_get_current_page - (GTK_NOTEBOOK (CWID ("choosers_nb"))) ? + (GTK_NOTEBOOK (gtk_builder_get_object (chooser_dialog, "choosers_nb"))) ? "xkb_language_variants_available" : "xkb_country_variants_available"); GtkTreeIter viter; @@ -532,7 +532,7 @@ xkb_layout_chooser_get_selected_id (GtkBuilder * chooser_dialog) { GtkWidget *cbv = CWID (gtk_notebook_get_current_page - (GTK_NOTEBOOK (CWID ("choosers_nb"))) ? + (GTK_NOTEBOOK (gtk_builder_get_object (chooser_dialog, "choosers_nb"))) ? "xkb_language_variants_available" : "xkb_country_variants_available"); GtkTreeModel *vm = gtk_combo_box_get_model (GTK_COMBO_BOX (cbv)); |