Date: Sat, 24 Dec 2005 00:20:07 GMT From: Joel Diaz <joeldiaz@nc.rr.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/90865: xchat-gnome 0.5_1 crash on startup Message-ID: <200512240020.jBO0K7N6005817@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/90865; it has been noted by GNATS. From: Joel Diaz <joeldiaz@nc.rr.com> To: bug-followup@FreeBSD.org, joeldiaz@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512240020.jBO0K7N6005817>