[Xfce4-commits] <midori:master> Ensure the web view of the thumb view is realized

Christian Dywan noreply at xfce.org
Sat Jun 5 00:52:01 CEST 2010


Updating branch refs/heads/master
         to 997d8df49c12eb29e672c83e8e638384bfb154ad (commit)
       from fc88d4bed36451de530c5854a02751cb17ff71f3 (commit)

commit 997d8df49c12eb29e672c83e8e638384bfb154ad
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jun 4 23:46:27 2010 +0200

    Ensure the web view of the thumb view is realized

 midori/midori-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index b1e0ba6..684b3bc 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -5115,6 +5115,7 @@ thumb_view_load_status_cb (MidoriView* thumb_view,
     if (katze_object_get_enum (thumb_view, "load-status") != MIDORI_LOAD_FINISHED)
         return;
 
+    gtk_widget_realize (midori_view_get_web_view (MIDORI_VIEW (thumb_view)));
     img = midori_view_get_snapshot (MIDORI_VIEW (thumb_view), 240, 160);
     gdk_pixbuf_save_to_buffer (img, &file_content, &sz, "png", NULL, "compression", "7", NULL);
     encoded = g_base64_encode ((guchar *)file_content, sz );



More information about the Xfce4-commits mailing list