From ebaa08f8c963e189a28e0dba9ad36292395b3887 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 19 Jun 2019 09:47:23 +0200 Subject: capplets: Use capplet_init --- capplets/network/mate-network-properties.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'capplets/network') diff --git a/capplets/network/mate-network-properties.c b/capplets/network/mate-network-properties.c index c2243fb3..af17495b 100644 --- a/capplets/network/mate-network-properties.c +++ b/capplets/network/mate-network-properties.c @@ -459,11 +459,7 @@ main (int argc, char **argv) "delete_button_img", NULL}; GtkWidget *widget; - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); + capplet_init (NULL, &argc, &argv); builder = gtk_builder_new (); if (gtk_builder_add_objects_from_resource (builder, "/org/mate/mcc/network/mate-network-properties.ui", -- cgit v1.2.1