diff options
Diffstat (limited to 'capplets/keybindings')
-rw-r--r-- | capplets/keybindings/Makefile.am | 1 | ||||
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/capplets/keybindings/Makefile.am b/capplets/keybindings/Makefile.am index 2b86f75f..48d8435b 100644 --- a/capplets/keybindings/Makefile.am +++ b/capplets/keybindings/Makefile.am @@ -38,7 +38,6 @@ mate-keybinding-properties-resources.h mate-keybinding-properties-resources.c: o AM_CPPFLAGS = \ $(MATECC_CAPPLETS_CFLAGS) \ - -DMATELOCALEDIR="\"$(datadir)/locale\"" \ -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" CLEANFILES = \ $(BUILT_SOURCES) \ diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index 9504af77..6b480ef5 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -1978,13 +1978,7 @@ main (int argc, char *argv[]) GtkBuilder *builder; GSettings *marco_settings; - gtk_init (&argc, &argv); - - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); + capplet_init (NULL, &argc, &argv); activate_settings_daemon (); |