]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gtk-webcore/files/stop-load.image-loading.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gtk-webcore / files / stop-load.image-loading.patch
1 --- NRCit/src/frameimpl.cpp.orig        2005-02-16 11:33:16.000000000 +0200
2 +++ NRCit/src/frameimpl.cpp     2005-10-28 00:44:15.000000000 +0300
3 @@ -152,6 +152,7 @@
4  
5  void FrameImpl::stopLoad()
6  {
7 +    frameLoadDelegate()->onFrameLoadFinished(this, 1);
8      closeURL();
9  }
10  
11 --- NRCit/src/ImageRenderer.cpp.orig    2005-02-16 11:33:16.000000000 +0200
12 +++ NRCit/src/ImageRenderer.cpp 2005-10-28 20:43:42.000000000 +0300
13 @@ -133,19 +133,19 @@
14         g_object_ref(pixbuf);
15      } else {
16         // not loading 
17 -       if (ir.anim) {
18 +       /*if (ir.anim) {
19             // is an animation => get own pixbuf, owned by iterator
20             anim = ir.anim;
21             g_object_ref(anim);
22             assert(ir.iter);
23             iter = gdk_pixbuf_animation_get_iter(anim, NULL);
24 -       } else {
25 +       } else {*/
26             // not an animation
27             assert(!ir.iter);
28             pixbuf = ir.pixbuf;
29             if (pixbuf)
30                 g_object_ref(pixbuf);
31 -       }
32 +       //}
33      }
34  }
35  
36 @@ -415,7 +417,7 @@
37  
38  void ImageRenderer::stopAnimation()
39  {
40 -    //stopped = true;
41 +    stopped = true;
42  }
43  
44  void ImageRenderer::tileInRect(GdkRectangle* r, int sx, int sy, CGContextRef context)