diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-03-29 11:26:37 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-03-29 11:26:37 +0800 |
commit | 6ba417b085e0e7049f99bfd63c492468a14c7e8c (patch) | |
tree | 9923ca30df2d4d63e97cc81a1a70689eb48952a2 /addressbook/backend | |
parent | 1f5d5803c2c269bcb5617e7be353fc5de01a09ab (diff) | |
download | gsoc2013-evolution-6ba417b085e0e7049f99bfd63c492468a14c7e8c.tar.gz gsoc2013-evolution-6ba417b085e0e7049f99bfd63c492468a14c7e8c.tar.zst gsoc2013-evolution-6ba417b085e0e7049f99bfd63c492468a14c7e8c.zip |
use g_new0 to allocate the BonoboObjectServant.
* addressbook/backend/pas/pas-card-cursor.c (create_cursor): use
g_new0 to allocate the BonoboObjectServant.
svn path=/trunk/; revision=2243
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/pas/pas-card-cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-card-cursor.c b/addressbook/backend/pas/pas-card-cursor.c index 3f66848332..7def4b436e 100644 --- a/addressbook/backend/pas/pas-card-cursor.c +++ b/addressbook/backend/pas/pas-card-cursor.c @@ -184,7 +184,7 @@ create_cursor (BonoboObject *cursor) POA_Evolution_CardCursor *servant; CORBA_Environment ev; - servant = (POA_Evolution_CardCursor *) g_new (BonoboObjectServant, 1); + servant = (POA_Evolution_CardCursor *) g_new0 (BonoboObjectServant, 1); servant->vepv = &cursor_vepv; CORBA_exception_init (&ev); |