Re: gtkentry->set_text("hello") segmentation fault signal 11
- From: José Alburquerque <jaalburquerque cox net>
- To: Oscar Dávila <odavilar gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: gtkentry->set_text("hello") segmentation fault signal 11
- Date: Thu, 21 May 2009 13:38:36 -0400
On Thu, 2009-05-21 at 12:32 -0500, Oscar Dávila wrote:
> when i use
> Gtk::Entry *entry_rapidrate = new Gtk::Entry();
> entry_rapidrate->set_text("hello");
>
> i get
>
> (process:7732): GLib-GObject-CRITICAL
> **: /build/buildd/glib2.0-2.16.6/gobject/gtype.c:2248: initialization
> assertion failed, use IA__g_type_init() prior to this function
Have you read chapter 3 of the Programming with gtkmm book[1]? You
probably need to make sure that your are initializing gtkmm correctly,
etc.
[1] http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/index.html
>
--
José Alburquerque
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]