[gtranslator] Remove unused error variable in MT plugin
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Remove unused error variable in MT plugin
- Date: Thu, 12 Apr 2012 14:30:58 +0000 (UTC)
commit 8e05863484b01ca5b1d24724154eb2dd48a5e3ca
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Thu Apr 12 16:30:52 2012 +0200
Remove unused error variable in MT plugin
.../gtr-translation-memory-dialog.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/translation-memory/gtr-translation-memory-dialog.c b/plugins/translation-memory/gtr-translation-memory-dialog.c
index 0fd65f5..fac7418 100644
--- a/plugins/translation-memory/gtr-translation-memory-dialog.c
+++ b/plugins/translation-memory/gtr-translation-memory-dialog.c
@@ -273,7 +273,6 @@ gtr_translation_memory_dialog_init (GtrTranslationMemoryDialog *dlg)
GtrProfile *profile;
const gchar *language_code;
gchar *filename = NULL;
- GError *error = NULL;
gchar *root_objects[] = {
"translation-memory-box",
NULL
@@ -306,7 +305,7 @@ gtr_translation_memory_dialog_init (GtrTranslationMemoryDialog *dlg)
G_CALLBACK (gtk_widget_destroy), NULL);
builder = gtk_builder_new ();
- gtk_builder_add_objects_from_resource (builder, "/org/gnome/gtranslator/plugins/translation-memory/ui/gtr-translation-memory-dialog.ui", root_objects, &error);
+ gtk_builder_add_objects_from_resource (builder, "/org/gnome/gtranslator/plugins/translation-memory/ui/gtr-translation-memory-dialog.ui", root_objects, NULL);
content = GTK_WIDGET (gtk_builder_get_object (builder, "translation-memory-box"));
g_object_ref (content);
priv->directory_entry = GTK_WIDGET (gtk_builder_get_object (builder, "directory-entry"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]