[gtkmm] Newbie libglademm question
- From: Javier Vilarroig <jvilarroig terra es>
- To: Gtkmm e-list <gtkmm-list gnome org>
- Subject: [gtkmm] Newbie libglademm question
- Date: Wed, 14 Jan 2004 12:16:18 +0100
Hi.
Excuse me if this is not the right place for this question.
I'm starting to write my first serious app with gtkmm/libglademm, and
I'm having a strange problem, at least to me :).
I'm creating a separate .glade file for every dialog on the app, and I
load it on the class constructor in order to be able to open multiple
instances of them. I do that because , to my understanding, when the
.glade file is opened only one instance for every dialog is created and
I need to be able to open multiple instances. Also I understand that whe
the .glade file is loaded, all and every dialog are created, so it seems
a memory waste to have only one .glade file. Correct me if I
missunderstood that.
I open the main app window without problem, but when I create the first
independent dialog I got a lot of errors on stderr, there is a sample at
mail end. The dialog opens correctly and it seems it's working
correctly, but I'm affraid I have misunderstood something on the
libglademm "filosofy" and that it can lead to unespected failures later.
Any help would be apreciated.
Thanks in advance
Javor
PS. Pls, excuse my bad english. It's not my native tonge.
Error listing:
--------------------------------
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
(sencora:11708): GLib-CRITICAL **: file gstring.c: line 479
(g_string_prepend): assertion `val != NULL' failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
(sencora:11708): GConf-CRITICAL **: file gconf-client.c: line 546
(gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)'
failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869
(gnome_program_locate_file): assertion `program != NULL' failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 869
(gnome_program_locate_file): assertion `program != NULL' failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
(sencora:11708): GLib-CRITICAL **: file gstring.c: line 479
(g_string_prepend): assertion `val != NULL' failed
(sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135
(gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
(sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937
(gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
(sencora:11708): GLib-CRITICAL **: file gstring.c: line 479
(g_string_prepend): assertion `val != NULL' failed
(sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135
(gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
(sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937
(gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
(sencora:11708): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
(sencora:11708): GLib-CRITICAL **: file gstring.c: line 479
(g_string_prepend): assertion `val != NULL' failed
(sencora:11708): Gtk-CRITICAL **: file gtkaccelmap.c: line 135
(gtk_accel_map_add_entry): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
(sencora:11708): Gtk-CRITICAL **: file gtkwidget.c: line 2937
(gtk_widget_set_accel_path): assertion `_gtk_accel_path_is_valid
(accel_path)' failed
--------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]