diff options
author | rbuj <[email protected]> | 2019-06-19 09:47:23 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-06-22 10:06:37 +0200 |
commit | ebaa08f8c963e189a28e0dba9ad36292395b3887 (patch) | |
tree | 3ddff6fc2bec04b607c7f634300bfc3c2e03b084 /capplets/windows | |
parent | 51e386fd4f5c60750c57a815203981754580e01d (diff) | |
download | mate-control-center-ebaa08f8c963e189a28e0dba9ad36292395b3887.tar.bz2 mate-control-center-ebaa08f8c963e189a28e0dba9ad36292395b3887.tar.xz |
capplets: Use capplet_init
Diffstat (limited to 'capplets/windows')
-rw-r--r-- | capplets/windows/mate-window-properties.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index ae059ae8..3d27b35e 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -329,11 +329,7 @@ main (int argc, char **argv) const char *current_wm; int i; - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); + capplet_init (NULL, &argc, &argv); screen = gdk_display_get_default_screen (gdk_display_get_default ()); current_wm = gdk_x11_screen_get_window_manager_name (screen); |