Re: Fix for two (possible) segfault causing bugs in anjuta2 from CVS
- From: Dave Camp <dave ximian com>
- To: Michael Karcher <michael karcher dpk berlin fido de>
- Cc: gnome-devtools gnome org
- Subject: Re: Fix for two (possible) segfault causing bugs in anjuta2 from CVS
- Date: 03 Dec 2002 18:57:20 -0500
On Sun, 2002-11-24 at 10:16, Michael Karcher wrote:
> Without these patches, anjuta refused to start.
>
> if (!type) {
> static const GTypeInfo info = {
> - sizeof (AnjutaDocumentIface),
> + sizeof (AnjutaDocumentManagerIface),
> anjuta_document_manager_base_init,
> NULL,
> NULL,
Ooh! I bet that caused another bug we were finding.
> Index: src/window.c
> ===================================================================
> RCS file: /cvs/gnome/anjuta2/src/window.c,v
> retrieving revision 1.66
> diff -u -u -r1.66 window.c
> --- src/window.c 15 Nov 2002 09:25:20 -0000 1.66
> +++ src/window.c 24 Nov 2002 15:14:17 -0000
> @@ -399,7 +399,7 @@
> if (!gdl_dock_layout_load_from_file (window->layout_manager, filename)) {
> g_free (filename);
> filename = g_build_filename (DATADIR "/anjuta2",
> - "layout.xml");
> + "layout.xml",NULL);
Indeed.
Good catches. I'm committing this. Thanks.
-dave
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]