Fix for two (possible) segfault causing bugs in anjuta2 from CVS
- From: Michael Karcher <michael karcher dpk berlin fido de>
- To: gnome-devtools gnome org
- Subject: Fix for two (possible) segfault causing bugs in anjuta2 from CVS
- Date: Sun, 24 Nov 2002 16:16:58 +0100
Without these patches, anjuta refused to start.
Index: libanjuta/anjuta-document-manager.c
===================================================================
RCS file: /cvs/gnome/anjuta2/libanjuta/anjuta-document-manager.c,v
retrieving revision 1.2
diff -u -u -r1.2 anjuta-document-manager.c
--- libanjuta/anjuta-document-manager.c 15 Nov 2002 09:25:18 -0000 1.2
+++ libanjuta/anjuta-document-manager.c 24 Nov 2002 15:14:16 -0000
@@ -150,7 +150,7 @@
if (!type) {
static const GTypeInfo info = {
- sizeof (AnjutaDocumentIface),
+ sizeof (AnjutaDocumentManagerIface),
anjuta_document_manager_base_init,
NULL,
NULL,
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);
gdl_dock_layout_load_from_file (window->layout_manager, filename);
}
g_free (filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]