summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-10-05 07:06:08 +0000
committerJon A. Cruz <jon@joncruz.org>2011-10-05 07:06:08 +0000
commitcd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4 (patch)
treea2cc09e750a94433c9a90052474ea7a6889ec6b5 /src/dialogs
parentCleaned up display-forward.h, including many redundant usages. (diff)
downloadinkscape-cd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4.tar.gz
inkscape-cd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4.zip
Cleanup for src/forward.h. (About 19 of the affected files did not require the contents forward.h at all).
(bzr r10667)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/dialog-events.h11
-rw-r--r--src/dialogs/item-properties.h6
-rw-r--r--src/dialogs/object-attributes.h4
3 files changed, 12 insertions, 9 deletions
diff --git a/src/dialogs/dialog-events.h b/src/dialogs/dialog-events.h
index 9c0a82f23..53be16682 100644
--- a/src/dialogs/dialog-events.h
+++ b/src/dialogs/dialog-events.h
@@ -9,11 +9,10 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#ifndef __DIALOG_EVENTS_H__
-#define __DIALOG_EVENTS_H__
+#ifndef SEEN_DIALOG_EVENTS_H
+#define SEEN_DIALOG_EVENTS_H
#include <gtk/gtk.h>
-#include <forward.h>
/*
* event callback can only accept one argument, but we need two,
@@ -28,6 +27,12 @@ namespace Gtk {
class Window;
class Entry;
}
+
+class SPDesktop;
+
+namespace Inkscape {
+class Application;
+} // namespace Inkscape
typedef struct {
GtkWidget *win;
diff --git a/src/dialogs/item-properties.h b/src/dialogs/item-properties.h
index 7d57ae5e8..51f5d7032 100644
--- a/src/dialogs/item-properties.h
+++ b/src/dialogs/item-properties.h
@@ -11,13 +11,11 @@
#ifndef SEEN_DIALOGS_ITEM_PROPERTIES_H
#define SEEN_DIALOGS_ITEM_PROPERTIES_H
-#include <glib.h>
#include <gtk/gtk.h>
-#include "../forward.h"
-GtkWidget *sp_item_widget_new (void);
+GtkWidget *sp_item_widget_new(void);
-void sp_item_dialog (void);
+void sp_item_dialog(void);
#endif
diff --git a/src/dialogs/object-attributes.h b/src/dialogs/object-attributes.h
index b490ebfa1..53b3ee37f 100644
--- a/src/dialogs/object-attributes.h
+++ b/src/dialogs/object-attributes.h
@@ -13,8 +13,8 @@
#define SEEN_DIALOGS_OBJECT_ATTRIBUTES_H
#include <glib.h>
-#include <gtk/gtk.h>
-#include "../forward.h"
+
+class SPObject;
void sp_object_attributes_dialog (SPObject *object, const gchar *tag);