From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-irc/hexchat/files: hexchat-2.9.6.1-xdcc.patch |
Date: | Sun, 23 Mar 2014 19:07:38 |
Message-Id: | 20140323190731.2342320054@flycatcher.gentoo.org |
1 | hasufell 14/03/23 19:07:31 |
2 | |
3 | Added: hexchat-2.9.6.1-xdcc.patch |
4 | Log: |
5 | fix xdcc segfault wrt #505132 |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: hexchat-2.9.6.1-xdcc.patch |
16 | =================================================================== |
17 | From fa955a0f1a7863ab7a35c8a3753eac014288931f Mon Sep 17 00:00:00 2001 |
18 | From: Arnavion <arnavion@×××××.com> |
19 | Date: Thu, 3 Oct 2013 17:43:44 -0700 |
20 | Subject: [PATCH] Don't try to update the clear button state when there's no |
21 | DCC window. |
22 | |
23 | --- |
24 | src/fe-gtk/dccgui.c | 3 ++- |
25 | 1 file changed, 2 insertions(+), 1 deletion(-) |
26 | |
27 | diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c |
28 | index 76b1e2f..562fe9e 100644 |
29 | --- a/src/fe-gtk/dccgui.c |
30 | +++ b/src/fe-gtk/dccgui.c |
31 | @@ -1128,7 +1128,8 @@ struct my_dcc_send |
32 | dcc_update_chat (dcc); |
33 | } |
34 | |
35 | - update_clear_button_sensitivity (); |
36 | + if (dccfwin.window) |
37 | + update_clear_button_sensitivity(); |
38 | } |
39 | |
40 | void |
41 | -- |
42 | 1.8.5.5 |