updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / galeon / 0001-Workaround-embed-missing-crash.patch
blob6e268b105e5c1ed9c0febddd75bf558fc733562a
1 From 5b44e519e258e84b7aa7301f6425fb2dffa60456 Mon Sep 17 00:00:00 2001
2 From: Yanko Kaneti <yaneti@declera.com>
3 Date: Wed, 15 Sep 2010 18:58:23 +0300
4 Subject: [PATCH] Workaround embed missing crash
6 Its not a fix but a bandaid.
7 ---
8 src/galeon-window.c | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
11 diff --git a/src/galeon-window.c b/src/galeon-window.c
12 index 57a5b74..1349446 100644
13 --- a/src/galeon-window.c
14 +++ b/src/galeon-window.c
15 @@ -2790,7 +2790,7 @@ sync_tab_location (GaleonTab *tab, GParamSpec *pspec, GaleonWindow *window)
16 "label", block_images_str, NULL);
18 embed = galeon_tab_get_embed (tab);
19 - can_view_source = galeon_embed_can_view_source (embed);
20 + can_view_source = embed ? galeon_embed_can_view_source (embed) : FALSE;
21 g_object_set(G_OBJECT(ACTION_ITEM(VIEW_SOURCE_ACTION)),
22 "sensitive", can_view_source, NULL);
24 --
25 1.7.2.3