Re: [[gtkmm] Glib::Value]



Christer Palm <palm nogui se> wrote:
> I can't even get the following to work:
> 
> #include <glibmm.h>
>  
> 
> int main()
> {
>          Glib::Value<int> x;
>          return 0;
> }
> 
> When I try to run it, I get:
> (process:306): GLib-GObject-CRITICAL **: file gvalue.c: line 147 
> (g_value_unset): assertion `G_IS_VALUE (value)' failed
> 

Maybe you need a Gtk::Main, or Glib::Main, to initialize the gtype system.


Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]