summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/PropertyListEditor.h
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-03-25 18:15:11 +0000
committerAlex Merry <dev@randomguy3.me.uk>2013-03-25 18:36:52 +0000
commit0f969b6ced7e9ebcbe4bc4e17867ff32d67f27bb (patch)
tree9632ffa948332d8636c15537cb19356781a215ec /tikzit/src/gtk/PropertyListEditor.h
parent1b83e14b1f5640881deeb03c1d11df5197746b64 (diff)
Catch some memory leaks
Memory usage on Linux no longer shoots up after running the tikz parser a handful of times.
Diffstat (limited to 'tikzit/src/gtk/PropertyListEditor.h')
-rw-r--r--tikzit/src/gtk/PropertyListEditor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tikzit/src/gtk/PropertyListEditor.h b/tikzit/src/gtk/PropertyListEditor.h
index 85fa8d2..2d3166a 100644
--- a/tikzit/src/gtk/PropertyListEditor.h
+++ b/tikzit/src/gtk/PropertyListEditor.h
@@ -28,12 +28,13 @@
@end
@interface PropertyListEditor: NSObject {
+ GraphElementData *data;
+ NSObject<PropertyChangeDelegate> *delegate;
+
GtkListStore *list;
GtkWidget *view;
- GraphElementData *data;
GtkWidget *widget;
GtkWidget *removeButton;
- NSObject<PropertyChangeDelegate> *delegate;
}
/*!