aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/prefer-plain
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@src.gnome.org>2007-10-31 06:21:14 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-31 06:21:14 +0800
commitf13fd21b50fa97b4ce7e29ce82d471c1f1870c11 (patch)
tree4f04f16373ca46b199bcd2677c9d2d434d308d9f /plugins/prefer-plain
parent5c1b5556bf7d92acddefa8bd01911299b5acad61 (diff)
downloadgsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.tar.gz
gsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.tar.zst
gsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.zip
Fix warnings from sparse and gcc
svn path=/trunk/; revision=34458
Diffstat (limited to 'plugins/prefer-plain')
-rw-r--r--plugins/prefer-plain/ChangeLog5
-rw-r--r--plugins/prefer-plain/prefer-plain.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/prefer-plain/ChangeLog b/plugins/prefer-plain/ChangeLog
index 82cd184dc0..1ac6c425a2 100644
--- a/plugins/prefer-plain/ChangeLog
+++ b/plugins/prefer-plain/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
+
+ * prefer-plain.c: (e_plugin_lib_enable):
+ Fix NULL vs. 0.
+
2007-10-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #487922
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index 56d4bd3458..ff96e91da1 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -221,7 +221,7 @@ e_plugin_lib_enable(EPluginLib *ep, int enable)
} else {
if (epp_gconf) {
g_object_unref(epp_gconf);
- epp_gconf = 0;
+ epp_gconf = NULL;
}
}