[nautilus-sendto] Remove calls to textdomain() in the plugins



commit 7ffcea7a84006a26507461420862d1169c404185
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Apr 26 12:43:32 2009 +0100

    Remove calls to textdomain() in the plugins
    
    It's unnecessary. Spotted by Christian Persch <chpe gnome org>
---
 src/plugins/bluetooth/bluetooth.c                 |    3 +--
 src/plugins/empathy/empathy.c                     |    1 -
 src/plugins/evolution/evolution.c                 |    1 -
 src/plugins/gajim/gajim.c                         |    1 -
 src/plugins/nautilus-burn/nautilus-burn.c         |    1 -
 src/plugins/pidgin/pidgin.c                       |    1 -
 src/plugins/removable-devices/removable-devices.c |    1 -
 src/plugins/upnp/upnp.c                           |    1 -
 8 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/src/plugins/bluetooth/bluetooth.c b/src/plugins/bluetooth/bluetooth.c
index be7acba..91df6c3 100644
--- a/src/plugins/bluetooth/bluetooth.c
+++ b/src/plugins/bluetooth/bluetooth.c
@@ -58,8 +58,7 @@ init (NstPlugin *plugin)
 	const char *adapter;
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
-        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-        textdomain (GETTEXT_PACKAGE);
+	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 
 	/* Check whether bluetooth-sendto or gnome-obex-send are available */
 	cmd = g_find_program_in_path ("bluetooth-sendto");
diff --git a/src/plugins/empathy/empathy.c b/src/plugins/empathy/empathy.c
index e3ab631..25d446f 100644
--- a/src/plugins/empathy/empathy.c
+++ b/src/plugins/empathy/empathy.c
@@ -55,7 +55,6 @@ init (NstPlugin *plugin)
 
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-  textdomain (GETTEXT_PACKAGE);
 
   empathy_gtk_init ();
 
diff --git a/src/plugins/evolution/evolution.c b/src/plugins/evolution/evolution.c
index 3718259..3e44290 100644
--- a/src/plugins/evolution/evolution.c
+++ b/src/plugins/evolution/evolution.c
@@ -86,7 +86,6 @@ init (NstPlugin *plugin)
 	
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 
 	client = gconf_client_get_default ();
 	mail_cmd = gconf_client_get_string (client, DEFAULT_MAILTO, NULL);
diff --git a/src/plugins/gajim/gajim.c b/src/plugins/gajim/gajim.c
index 9ab67e1..d6f08b2 100644
--- a/src/plugins/gajim/gajim.c
+++ b/src/plugins/gajim/gajim.c
@@ -255,7 +255,6 @@ gboolean init (NstPlugin *plugin)
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 	
 	/* connect to gajim dbus service */
 	jid_table = g_hash_table_new (g_str_hash, g_str_equal);
diff --git a/src/plugins/nautilus-burn/nautilus-burn.c b/src/plugins/nautilus-burn/nautilus-burn.c
index 6cb2eea..05714c2 100644
--- a/src/plugins/nautilus-burn/nautilus-burn.c
+++ b/src/plugins/nautilus-burn/nautilus-burn.c
@@ -39,7 +39,6 @@ gboolean init (NstPlugin *plugin)
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 
 	burn = g_file_new_for_uri ("burn:/");
 
diff --git a/src/plugins/pidgin/pidgin.c b/src/plugins/pidgin/pidgin.c
index e5611a0..a7a5d73 100644
--- a/src/plugins/pidgin/pidgin.c
+++ b/src/plugins/pidgin/pidgin.c
@@ -43,7 +43,6 @@ init (NstPlugin *plugin)
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 
 	blist_online = g_build_path ("/", g_get_home_dir(),
 				     ".gnome2/nautilus-sendto/pidgin_buddies_online",
diff --git a/src/plugins/removable-devices/removable-devices.c b/src/plugins/removable-devices/removable-devices.c
index 6931898..a302081 100644
--- a/src/plugins/removable-devices/removable-devices.c
+++ b/src/plugins/removable-devices/removable-devices.c
@@ -130,7 +130,6 @@ init (NstPlugin *plugin)
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 
 	vol_monitor = g_volume_monitor_get ();
 	cb = gtk_combo_box_new ();
diff --git a/src/plugins/upnp/upnp.c b/src/plugins/upnp/upnp.c
index 25bc3d5..5f0c8b1 100644
--- a/src/plugins/upnp/upnp.c
+++ b/src/plugins/upnp/upnp.c
@@ -178,7 +178,6 @@ init (NstPlugin *plugin)
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-	textdomain (GETTEXT_PACKAGE);
 
 	upload_cmd = g_find_program_in_path ("gupnp-upload");
 	if (upload_cmd == NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]