Re: g_type_query in gtk-win32
- From: Tor Lillqvist <tml iki fi>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g_type_query in gtk-win32
- Date: Thu, 5 Feb 2009 15:21:56 +0200
Here's a very simple program that illustrates the problem:-
When I add the missing semicolon, compile, and run the program, I get
a lot of error messages, the first (and most relevant) being:
(johne53-1.exe:2264): GLib-GObject-CRITICAL **: gtype.c:2458:
initialization assertion failed, use g_type_init() prior to this
function
When I do what the error message says and add a call to g_type_init(),
it works fine as far as I can see. base_query contains:
(gdb) p base_query
$1 = {type = 37258472, type_name = 0x2388590 "GnomeCanvas", class_size
= 464, instance_size = 312}
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]