updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / galeon / 0001-Workaround-tab-label-related-crashes.patch
blob74881747ef8291b6ac1c189a79646f8e7c1700ad
1 From a620eb30751fa921f1d8d00f0511e267e998859a Mon Sep 17 00:00:00 2001
2 From: Yanko Kaneti <yaneti@declera.com>
3 Date: Wed, 15 Sep 2010 15:47:20 +0300
4 Subject: [PATCH] Workaround tab label related crashes.
6 Try to workaround tab label related crashes with recent xulrunners.
7 Its not a fix but a bandaid.
8 ---
9 src/galeon-tab-menu.c | 2 ++
10 1 files changed, 2 insertions(+), 0 deletions(-)
12 diff --git a/src/galeon-tab-menu.c b/src/galeon-tab-menu.c
13 index 05d9eaa..f6640d2 100644
14 --- a/src/galeon-tab-menu.c
15 +++ b/src/galeon-tab-menu.c
16 @@ -71,6 +71,8 @@ update_title_cb (GaleonEmbed* embed, GtkAction *action)
18 GaleonTab *tab = g_object_get_data (G_OBJECT (action), "GaleonTab");
20 + g_return_if_fail (GALEON_IS_TAB (tab));
22 const char *title = galeon_tab_get_title(tab);
23 gchar *title_s = gul_string_shorten(title,
24 MENU_ITEM_MAX_LENGTH);
25 --
26 1.7.2.3