diff options
author | rbuj <[email protected]> | 2020-12-31 19:13:50 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-28 21:14:30 +0100 |
commit | 86d43b190d57402a7e531a8079f90b52bc83567f (patch) | |
tree | 4e9e636556e89804ee956d13a7971bce59a99ba3 | |
parent | d9f4cc876d523560f97156ceda1905ee34ffdaae (diff) | |
download | caja-extensions-86d43b190d57402a7e531a8079f90b52bc83567f.tar.bz2 caja-extensions-86d43b190d57402a7e531a8079f90b52bc83567f.tar.xz |
Do not call bindtextdomain/bind_textdomain_codeset in libraries
-rw-r--r-- | image-converter/image-converter.c | 3 | ||||
-rw-r--r-- | open-terminal/open-terminal.c | 3 | ||||
-rw-r--r-- | sendto/caja-sendto-module.c | 3 | ||||
-rw-r--r-- | sendto/plugins/caja-burn/caja-burn.c | 3 | ||||
-rw-r--r-- | sendto/plugins/emailclient/emailclient.c | 3 | ||||
-rw-r--r-- | sendto/plugins/gajim/gajim.c | 3 | ||||
-rw-r--r-- | sendto/plugins/pidgin/pidgin.c | 3 | ||||
-rw-r--r-- | sendto/plugins/removable-devices/removable-devices.c | 3 | ||||
-rw-r--r-- | sendto/plugins/upnp/upnp.c | 3 | ||||
-rw-r--r-- | share/caja-share.c | 3 |
10 files changed, 0 insertions, 30 deletions
diff --git a/image-converter/image-converter.c b/image-converter/image-converter.c index 868ebb4..dba1d24 100644 --- a/image-converter/image-converter.c +++ b/image-converter/image-converter.c @@ -38,9 +38,6 @@ caja_module_initialize (GTypeModule *module) caja_image_converter_register_type (module); type_list[0] = CAJA_TYPE_IMAGE_CONVERTER; - - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); } void diff --git a/open-terminal/open-terminal.c b/open-terminal/open-terminal.c index b7a9e78..600a8dd 100644 --- a/open-terminal/open-terminal.c +++ b/open-terminal/open-terminal.c @@ -38,9 +38,6 @@ caja_module_initialize (GTypeModule *module) caja_open_terminal_register_type (module); type_list[0] = CAJA_TYPE_OPEN_TERMINAL; - - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); } void diff --git a/sendto/caja-sendto-module.c b/sendto/caja-sendto-module.c index af0fd0f..ed580ba 100644 --- a/sendto/caja-sendto-module.c +++ b/sendto/caja-sendto-module.c @@ -37,9 +37,6 @@ caja_module_initialize (GTypeModule*module) { g_print ("Initializing caja-sendto extension\n"); caja_nste_register_type (module); - - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); } void diff --git a/sendto/plugins/caja-burn/caja-burn.c b/sendto/plugins/caja-burn/caja-burn.c index fe0570d..b9cbb53 100644 --- a/sendto/plugins/caja-burn/caja-burn.c +++ b/sendto/plugins/caja-burn/caja-burn.c @@ -50,9 +50,6 @@ gboolean init (NstPlugin *plugin) g_print ("Init caja burn plugin\n"); - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - it = gtk_icon_theme_get_default (); gtk_icon_theme_append_search_path (it, DATADIR "/brasero/icons"); diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c index a3289c5..4669df4 100644 --- a/sendto/plugins/emailclient/emailclient.c +++ b/sendto/plugins/emailclient/emailclient.c @@ -81,9 +81,6 @@ init (NstPlugin *plugin) g_print ("Init email client plugin\n"); - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - app_info = g_app_info_get_default_for_uri_scheme ("mailto"); if (app_info) { mail_cmd = g_strdup(g_app_info_get_executable (app_info)); diff --git a/sendto/plugins/gajim/gajim.c b/sendto/plugins/gajim/gajim.c index 881af6c..303f4ab 100644 --- a/sendto/plugins/gajim/gajim.c +++ b/sendto/plugins/gajim/gajim.c @@ -262,9 +262,6 @@ init (NstPlugin *plugin) { g_print ("Init gajim plugin\n"); - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - /* connect to gajim dbus service */ jid_table = g_hash_table_new (g_str_hash, g_str_equal); if (!init_dbus()) { diff --git a/sendto/plugins/pidgin/pidgin.c b/sendto/plugins/pidgin/pidgin.c index 5ee4af2..14cd6a7 100644 --- a/sendto/plugins/pidgin/pidgin.c +++ b/sendto/plugins/pidgin/pidgin.c @@ -83,9 +83,6 @@ init (NstPlugin *plugin) g_print ("Init pidgin plugin\n"); - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - error = NULL; connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); if(error != NULL) { diff --git a/sendto/plugins/removable-devices/removable-devices.c b/sendto/plugins/removable-devices/removable-devices.c index f64b17c..1b09b19 100644 --- a/sendto/plugins/removable-devices/removable-devices.c +++ b/sendto/plugins/removable-devices/removable-devices.c @@ -151,9 +151,6 @@ init (NstPlugin *plugin) { g_print ("Init removable-devices plugin\n"); - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - vol_monitor = g_volume_monitor_get (); cb = gtk_combo_box_new (); diff --git a/sendto/plugins/upnp/upnp.c b/sendto/plugins/upnp/upnp.c index 9843cbb..b7000c9 100644 --- a/sendto/plugins/upnp/upnp.c +++ b/sendto/plugins/upnp/upnp.c @@ -201,9 +201,6 @@ init (NstPlugin *plugin) GtkCellRenderer *renderer; char *upload_cmd; - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - upload_cmd = g_find_program_in_path ("gupnp-upload"); if (upload_cmd == NULL) return FALSE; diff --git a/share/caja-share.c b/share/caja-share.c index 0f69921..e6b4897 100644 --- a/share/caja-share.c +++ b/share/caja-share.c @@ -1260,9 +1260,6 @@ caja_module_initialize (GTypeModule *module) { g_print ("Initializing caja-share extension\n"); - bindtextdomain(GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); - caja_share_register_type (module); } |