Re: bug

On December 17, 1998, thus spake William Morgan:
> Gtk-CRITICAL **: file gtkwidget.c: line 2152 (gtk_widget_queue_resize):
> assertion `widget != NULL' failed.

After much effort I've figured this out, although it still doesn't fix the
problem of none of the mailbox windows showing up for me at all.

It turns out to be due to a simple typo:

--- cut here ---
diff -u -d -r1.172 main-window.c
--- main-window.c       1998/12/15 15:41:15     1.172
+++ main-window.c       1998/12/18 04:13:14
@@ -259,7 +259,7 @@
   /* meubar and toolbar */
   gtk_signal_connect (GTK_OBJECT (mdi), "child_changed", GTK_SIGNAL_FUNC (index_child_changed), NULL);
   gtk_signal_connect (GTK_OBJECT (mdi), "app_created", GTK_SIGNAL_FUNC (app_created), NULL);
-  gnome_mdi_set_child_list_path (mdi, _ ("Mailboxes/<Separator>"));
+  gnome_mdi_set_child_list_path (mdi, _ ("Mail_boxes/<Separator>"));
   gnome_mdi_set_menubar_template (mdi, main_menu);
   gnome_mdi_set_toolbar_template (mdi, main_toolbar);
--- cut here ---

i.e. it was just missing that underscore. In order to solve this I make
g_return_if_fail raise a SIGSEGV and recompiled gtk+ so that I could get a
backtrace. Surely there's an easier way to do this?


PGP signature

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