summaryrefslogtreecommitdiff
path: root/capplets/keybindings
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-19 09:47:23 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-06-22 10:06:37 +0200
commitebaa08f8c963e189a28e0dba9ad36292395b3887 (patch)
tree3ddff6fc2bec04b607c7f634300bfc3c2e03b084 /capplets/keybindings
parent51e386fd4f5c60750c57a815203981754580e01d (diff)
downloadmate-control-center-ebaa08f8c963e189a28e0dba9ad36292395b3887.tar.bz2
mate-control-center-ebaa08f8c963e189a28e0dba9ad36292395b3887.tar.xz
capplets: Use capplet_init
Diffstat (limited to 'capplets/keybindings')
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c8
1 files changed, 1 insertions, 7 deletions
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 ();