Re: hub - r26728 - in abiword/trunk/src/wp/ap/gtk: . hildon

From: Robert Wilhelm <robert.wilhelm_at_gmx.net>
Date: Sun Jun 14 2009 - 17:41:19 CEST

Hub, forget my patch. It lets abiword compile, but now I get runtime
crash in options dialog.

Breakpoint 1, AP_UnixDialog_Options::_constructWindowContents
(this=0x84c3040, builder=0x0)
    at ap_UnixDialog_Options.cpp:437
437 gtk_notebook_remove_page(GTK_NOTEBOOK ( m_notebook ), 3);
(gdb) n

(abiword:21961): Gtk-CRITICAL **: gtk_notebook_remove_page: assertion
`GTK_IS_NOTEBOOK (notebook)' failed
441 tmp = WID ( "lblSmartQuotes" );
(gdb) p m_notebook
$3 = (GtkWidget *) 0x0
(gdb)

On Sun, 2009-06-14 at 11:15 -0400, Hubert Figuiere wrote:
> On 06/14/2009 10:52 AM, Robert Wilhelm wrote:
> > Hub,
> >
> > this breaks my build (fedora 10). Something like attached patch is
> > needed.
>
> >
> > #else
> > - gtk_notebook_remove_page(3);
> > + gtk_notebook_remove_page(GTK_NOTEBOOK ( m_notebook ), 3);
> > #endif
> > // Smart Quotes
>
> Wow.
>
> You build without enchant, do you?
>
> BTW I'm baffled that I even committed that (nor that it did compile).
>
>
> Will fix.
>
>
> Hub
Received on Sun Jun 14 17:46:18 2009

This archive was generated by hypermail 2.1.8 : Sun Jun 14 2009 - 17:46:18 CEST