aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-profile-event.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-26 16:00:59 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-26 16:00:59 +0800
commit27f2852a2724aee617ef669587c8663dcbe40c27 (patch)
tree39c931cef3d7698a35744cc52363498157ab90a7 /e-util/e-profile-event.c
parenta1794552bd7775f8dbe32a4b7e495ee61a31ab6c (diff)
downloadgsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar.gz
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar.bz2
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar.lz
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar.xz
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.tar.zst
gsoc2013-evolution-27f2852a2724aee617ef669587c8663dcbe40c27.zip
Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing
2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: * e-event.c: * e-gui-utils.c: * e-import.c: * e-menu.c: * e-mktemp.c: (get_dir): * e-popup.c: * e-profile-event.c: (e_profile_event_peek): * e-util.c: (get_font_options): * e-xml-utils.c: (e_xml_get_string_prop_by_name), (e_xml_get_string_prop_by_name_with_default), (e_xml_get_translated_string_prop_by_name): Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing include svn path=/trunk/; revision=34428
Diffstat (limited to 'e-util/e-profile-event.c')
-rw-r--r--e-util/e-profile-event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-profile-event.c b/e-util/e-profile-event.c
index 9e647c1585..9c86f72b60 100644
--- a/e-util/e-profile-event.c
+++ b/e-util/e-profile-event.c
@@ -101,7 +101,7 @@ e_profile_event_get_type(void)
EProfileEvent *e_profile_event_peek(void)
{
if (e_profile_event == NULL) {
- e_profile_event = g_object_new(e_profile_event_get_type(), 0);
+ e_profile_event = g_object_new(e_profile_event_get_type(), NULL);
e_event_construct(&e_profile_event->popup, "org.gnome.evolution.profile.events");
}
@@ -151,12 +151,12 @@ static const EEventHookTargetMask emeh_profile_masks[] = {
{ "start", E_PROFILE_EVENT_START },
{ "end", E_PROFILE_EVENT_END },
{ "cancel", E_PROFILE_EVENT_CANCEL },
- { 0 }
+ { NULL }
};
static const EEventHookTargetMap emeh_targets[] = {
{ "event", E_PROFILE_EVENT_TARGET, emeh_profile_masks },
- { 0 }
+ { NULL }
};
static void