On Wed, 2012-04-18 at 14:52 +1000, Peter Hutterer wrote:
> (process:23019): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to
> call g_type_init()
> 
> (process:23019): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
> 0' failed
> 
> (process:23019): GLib-GObject-CRITICAL **: g_object_new: assertion
> `G_TYPE_IS_OBJECT (object_type)' failed
> 
> Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

Signed-off-by: Bastien Nocera <had...@hadess.net>

> ---
>  libwacom/libwacom.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
> index 27fcd98..5b9bdd2 100644
> --- a/libwacom/libwacom.c
> +++ b/libwacom/libwacom.c
> @@ -56,6 +56,8 @@ get_device_info (const char   *path,
>       const char *bus_str;
>       const char *devname;
>  
> +     g_type_init();
> +
>       retval = FALSE;
>       *builtin = IS_BUILTIN_UNSET;
>       *name = NULL;



------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to