Re: CVS: commit sum1 abi/src/af/xap/unix xap_UnixDlg_FileOpenSaveAs.cpp

From: <msevior_at_physics.unimelb.edu.au>
Date: Sat Jan 06 2007 - 22:22:05 CET

>
> Update of /cvsroot/abi/src/af/xap/unix
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv23789
>
> Modified Files:
> xap_UnixDlg_FileOpenSaveAs.cpp
> Log Message:
> Don't crash when running the scriptPlay command in AbiCommand. I don't
> think this fix
> applies to 2.4.x.
>
>
>
> Index: xap_UnixDlg_FileOpenSaveAs.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp,v
> retrieving revision 1.148
> retrieving revision 1.149
> diff -u -d -r1.148 -r1.149
> --- xap_UnixDlg_FileOpenSaveAs.cpp 5 Jan 2007 04:38:12 -0000 1.148
> +++ xap_UnixDlg_FileOpenSaveAs.cpp 6 Jan 2007 19:27:21 -0000 1.149
> @@ -603,7 +603,7 @@
> );
>
> #else
> - if(GTK_WIDGET_TOPLEVEL(parent) != TRUE)
> + if(parent && (GTK_WIDGET_TOPLEVEL(parent) != TRUE))
> {
> xxx_UT_DEBUGMSG(("AbiWidget running prev parent %x \n",parent));
> parent = gtk_widget_get_toplevel (parent);
>

Hi sum1,
         Excellent catch! I just committed this code 2 days ago to fix
some gtk+ warnings when using pyabiword.

Do you have a few scripts you use to exercise AbiWord and hunt for bugs?

Cheers

Martin

> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
>
Received on Sat Jan 6 22:22:14 2007

This archive was generated by hypermail 2.1.8 : Sat Jan 06 2007 - 22:22:15 CET