[epiphany/gnome-3-18] web-overview: Don't crash when unexpected thumbnail change is received



commit 37a4af3778ef058556a620379c77d02259de5c98
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Feb 8 15:25:32 2016 -0600

    web-overview: Don't crash when unexpected thumbnail change is received
    
    Sometimes we receive thumbnail changes for pages that aren't in the
    overview. It's probably a bug, but there don't seem to be any
    user-visible effects, so let's not crash over this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758470

 embed/web-extension/ephy-web-overview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-overview.c b/embed/web-extension/ephy-web-overview.c
index b951212..edff57e 100644
--- a/embed/web-extension/ephy-web-overview.c
+++ b/embed/web-extension/ephy-web-overview.c
@@ -242,7 +242,7 @@ apply_delayed_thumbnail_change (gpointer key,
     }
   }
 
-  g_assert_not_reached ();
+  return FALSE;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]