Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 97208 | Differences between
and this patch

Collapse All | Expand All

(-)aa/src/map_handler.c (-1 / +4 lines)
Lines 660-668 Link Here
660
  if (maploaded)
660
  if (maploaded)
661
    gdk_pixbuf_unref (image);
661
    gdk_pixbuf_unref (image);
662
662
663
#ifdef MAPNIK
663
  if ( !strcmp (filename,"mapnik") ) {
664
  if ( !strcmp (filename,"mapnik") ) {
664
	  limage = gdk_pixbuf_new_from_data(get_mapnik_imagedata(), GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
665
	  limage = gdk_pixbuf_new_from_data(get_mapnik_imagedata(), GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
665
  } else {
666
  } else 
667
#endif
668
  {
666
	  limage = gdk_pixbuf_new_from_file (filename, NULL);
669
	  limage = gdk_pixbuf_new_from_file (filename, NULL);
667
	  if (limage == NULL)
670
	  if (limage == NULL)
668
	    {
671
	    {

Return to bug 97208