CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/07/26 19:41:37
Modified files: . : ChangeLog gui : kde_glue_agg.cpp Log message: * gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if render handler could not be created. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3836&r2=1.3837 http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_agg.cpp?cvsroot=gnash&r1=1.4&r2=1.5 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3836 retrieving revision 1.3837 diff -u -b -r1.3836 -r1.3837 --- ChangeLog 26 Jul 2007 16:14:20 -0000 1.3836 +++ ChangeLog 26 Jul 2007 19:41:36 -0000 1.3837 @@ -1,4 +1,9 @@ -2007-07-25 Sandro Santilli <[EMAIL PROTECTED]> +2007-07-26 Sandro Santilli <[EMAIL PROTECTED]> + + * gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if + render handler could not be created. + +2007-07-26 Sandro Santilli <[EMAIL PROTECTED]> * gui/gnash.cpp: scan argv[0] and select KDE gui if it contains the string 'klash'. Index: gui/kde_glue_agg.cpp =================================================================== RCS file: /sources/gnash/gnash/gui/kde_glue_agg.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- gui/kde_glue_agg.cpp 1 Jul 2007 10:54:03 -0000 1.4 +++ gui/kde_glue_agg.cpp 26 Jul 2007 19:41:37 -0000 1.5 @@ -15,7 +15,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -/* $Id: kde_glue_agg.cpp,v 1.4 2007/07/01 10:54:03 bjacques Exp $ */ +/* $Id: kde_glue_agg.cpp,v 1.5 2007/07/26 19:41:37 strk Exp $ */ #include "kde_glue_agg.h" #include "render_handler.h" @@ -138,6 +138,10 @@ { // QT requires the use of this pixel format... _renderer = create_render_handler_agg("BGRA32"); + if ( ! _renderer ) + { + throw GnashException("Could not create AGG renderer with pixelformat BGRA32"); + } return _renderer; } _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit