[goffice] go-editor: fix warning.



commit 289b34c933867ef68a2862a7cb1f2c5747f1697a
Author: Morten Welinder <terra gnome org>
Date:   Tue Aug 31 16:14:21 2010 -0400

    go-editor: fix warning.

 goffice/utils/go-editor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/goffice/utils/go-editor.c b/goffice/utils/go-editor.c
index e9cc67f..e45a992 100644
--- a/goffice/utils/go-editor.c
+++ b/goffice/utils/go-editor.c
@@ -23,6 +23,7 @@
 
 #include <goffice/goffice-config.h>
 #include <go-editor.h>
+#include <string.h>
 
 /**
  * go_editor_new:
@@ -43,7 +44,8 @@ go_editor_new (void)
 	return editor;
 }
 
-static void page_free (GOEditorPage *page)
+static void
+page_free (GOEditorPage *page)
 {
 	if (page->widget)
 		g_object_unref (page->widget);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]