summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-17 12:47:48 +0300
committerinfirit <[email protected]>2014-12-17 12:16:49 +0100
commit6e3c106c0a2c163b2376456ff7a0d6c05b7125de (patch)
treeccbd30abf39b27ba5412ae94314473bb8f56c7e0 /mate-dictionary
parent12dc36b4212decc8fb8474e5e0d9ed144fc9f4e9 (diff)
downloadmate-utils-6e3c106c0a2c163b2376456ff7a0d6c05b7125de.tar.bz2
mate-utils-6e3c106c0a2c163b2376456ff7a0d6c05b7125de.tar.xz
mate-dictionary: don't free GError more than once
because that error dialog function frees it already
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/src/gdict-source-dialog.c1
-rw-r--r--mate-dictionary/src/gdict-window.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c
index 3468011d..792677dd 100644
--- a/mate-dictionary/src/gdict-source-dialog.c
+++ b/mate-dictionary/src/gdict-source-dialog.c
@@ -477,7 +477,6 @@ gdict_source_dialog_response_cb (GtkDialog *dialog,
gdict_show_gerror_dialog (GTK_WINDOW (dialog),
_("There was an error while displaying help"),
err);
- g_error_free (err);
}
/* we don't want the dialog to close itself */
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c
index 00f6f056..462134d2 100644
--- a/mate-dictionary/src/gdict-window.c
+++ b/mate-dictionary/src/gdict-window.c
@@ -1243,7 +1243,6 @@ gdict_window_cmd_help_contents (GtkAction *action,
gdict_show_gerror_dialog (GTK_WINDOW (window),
_("There was an error while displaying help"),
err);
- g_error_free (err);
}
}