aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-08-23 16:38:52 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-08-23 16:38:52 +0800
commit40f0681b4fee6bf4965b16fdb39c1973e23fb9b0 (patch)
treef8f8575b83c957bf936ee87c3e77a8e5ee31505e /plugins
parent27928c2f6ca528e5b0dd50397efc7479b121985c (diff)
downloadgsoc2013-evolution-40f0681b4fee6bf4965b16fdb39c1973e23fb9b0.tar.gz
gsoc2013-evolution-40f0681b4fee6bf4965b16fdb39c1973e23fb9b0.tar.zst
gsoc2013-evolution-40f0681b4fee6bf4965b16fdb39c1973e23fb9b0.zip
improve GError initialization code - fixes bug 352423. committed by Andre
2006-08-23 Matthew Barnes <mbarnes@redhat.com> * plugins/mailing-list-actions/mailing-list-actions.c: * widgets/misc/e-multi-config-dialog.c: improve GError initialization code - fixes bug 352423. committed by Andre Klapper svn path=/trunk/; revision=32638
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mailing-list-actions/ChangeLog6
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/plugins/mailing-list-actions/ChangeLog b/plugins/mailing-list-actions/ChangeLog
index 5592976980..01fefc4531 100644
--- a/plugins/mailing-list-actions/ChangeLog
+++ b/plugins/mailing-list-actions/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-23 Matthew Barnes <mbarnes@redhat.com>
+
+ * mailing-list-actions.c:
+ fix an uninitialized GError - fixes bug 352423.
+ committed by Andre Klapper
+
2006-07-08 Matthew Barnes <mbarnes@redhat.com>
* org-gnome-mailing-list-actions.xml: Fixing header capitalization
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index aa7fd6440d..f8ae698a80 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -99,7 +99,6 @@ void emla_list_action_do (CamelFolder *folder, const char *uid, CamelMimeMessage
const char* header = NULL, *headerpos;
char *end, *url = NULL;
int t;
- GError *err;
EMsgComposer *composer;
int send_message_response;
EAccount *account;
@@ -160,7 +159,7 @@ void emla_list_action_do (CamelFolder *folder, const char *uid, CamelMimeMessage
goto exit;
} else {
- err = NULL;
+ GError *err = NULL;
gnome_url_show (url, &err);
if (!err)
goto exit;