s3:mdssvc: older glib2 versions require g_type_init()
authorRalph Boehme <slow@samba.org>
Thu, 17 Mar 2016 13:05:58 +0000 (14:05 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 18 Mar 2016 02:52:55 +0000 (03:52 +0100)
commit3563d79a8cb625ae78523cb32330c9f61c6c3a2f
treed34b154674b612a16cb78f311c4b5f8ab5f0d28e
parentf50c3fb1c58700522f1b742539dab9bd9ae7fd39
s3:mdssvc: older glib2 versions require g_type_init()

Older glib2 versions will crash if g_type_init is not called:

(process:6712): GLib-GObject-CRITICAL **: ... ./gobject/gtype.c:2722:
You forgot to call g_type_init()

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11801

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 18 03:52:55 CET 2016 on sn-devel-144
source3/rpc_server/mdssvc/mdssvc.c