[dia] Add missing includes: properties.h and intl.h
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Add missing includes: properties.h and intl.h
- Date: Sun, 24 Oct 2010 15:28:09 +0000 (UTC)
commit 05dc133ce4f1928b3e5d834887d3daea481f6250
Author: Hans Breuer <hans breuer org>
Date: Sun Oct 24 17:27:23 2010 +0200
Add missing includes: properties.h and intl.h
element.h uses PropNumData on win32 and so needs "properties.h";
the rest probably was shown as warning on Linux too, but configured
as error on msvc ...
app/defaults.c | 1 +
app/properties-dialog.c | 4 +++-
lib/element.h | 1 +
plug-ins/drs/dia-render-script-import.c | 1 +
4 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/app/defaults.c b/app/defaults.c
index d01f171..91ce172 100644
--- a/app/defaults.c
+++ b/app/defaults.c
@@ -26,6 +26,7 @@
#include "object_ops.h"
#include "connectionpoint_ops.h"
#include "object.h"
+#include "properties.h"
static GtkWidget *dialog = NULL;
static GtkWidget *dialog_vbox = NULL;
diff --git a/app/properties-dialog.c b/app/properties-dialog.c
index bd2c8c4..8e12350 100644
--- a/app/properties-dialog.c
+++ b/app/properties-dialog.c
@@ -20,6 +20,8 @@
#include <config.h>
#endif
+#include <string.h>
+
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -30,7 +32,7 @@
#include "connectionpoint_ops.h"
#include "undo.h"
#include "message.h"
-#include <string.h>
+#include "properties.h"
static GtkWidget *dialog = NULL;
static GtkWidget *dialog_vbox = NULL;
diff --git a/lib/element.h b/lib/element.h
index 417fb3e..65d0f8f 100644
--- a/lib/element.h
+++ b/lib/element.h
@@ -25,6 +25,7 @@
#include "handle.h"
#include "connectionpoint.h"
#include "boundingbox.h"
+#include "properties.h" /* win32: PropNumData */
/*!
* \class _Element
diff --git a/plug-ins/drs/dia-render-script-import.c b/plug-ins/drs/dia-render-script-import.c
index 3202a63..5a6fc0e 100644
--- a/plug-ins/drs/dia-render-script-import.c
+++ b/plug-ins/drs/dia-render-script-import.c
@@ -28,6 +28,7 @@
#include "diagramdata.h"
#include "group.h"
#include "message.h"
+#include "intl.h"
#include <libxml/tree.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]