ports/90865: xchat-gnome 0.5_1 crash on startup
Joel Diaz
joeldiaz at nc.rr.com
Sat Dec 24 00:20:08 UTC 2005
The following reply was made to PR ports/90865; it has been noted by GNATS.
From: Joel Diaz <joeldiaz at nc.rr.com>
To: bug-followup at FreeBSD.org, joeldiaz at nc.rr.com
Cc:
Subject: Re: ports/90865: xchat-gnome 0.5_1 crash on startup
Date: Fri, 23 Dec 2005 19:16:30 -0500
--=-J4d/jkWyoVI4EcDojvdx
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Actually, I poked around the xchat-gnome subversion repository.
The proper fix is more like (I'm attaching the file also since Evolution
is going to kill the formating on this):
--- src/fe-gnome/navigation-tree.c.orig Fri Dec 23 19:10:30 2005
+++ src/fe-gnome/navigation-tree.c Fri Dec 23 19:11:11 2005
@@ -847,6 +847,9 @@
session *sess;
session_gui *tgui;
+ if (gui.server_tree == NULL)
+ return;
+
treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml,
"userlist"));
if (gui.server_tree->current_path != NULL)
--=-J4d/jkWyoVI4EcDojvdx
Content-Disposition: attachment; filename=patch-navigation-tree.c
Content-Type: text/x-csrc; name=patch-navigation-tree.c; charset=us-ascii
Content-Transfer-Encoding: 7bit
--- src/fe-gnome/navigation-tree.c.orig Fri Dec 23 19:10:30 2005
+++ src/fe-gnome/navigation-tree.c Fri Dec 23 19:11:11 2005
@@ -847,6 +847,9 @@
session *sess;
session_gui *tgui;
+ if (gui.server_tree == NULL)
+ return;
+
treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml, "userlist"));
if (gui.server_tree->current_path != NULL)
--=-J4d/jkWyoVI4EcDojvdx--
More information about the freebsd-ports-bugs
mailing list