summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-03-24 14:26:54 +0000
committerAlex Merry <dev@randomguy3.me.uk>2013-03-24 14:49:18 +0000
commitcafc2846ba300ec59a71cc0ef4ddfd8d24003540 (patch)
treecfda10bcd0c37bc0230d0afb81f326459a7a7804
parentb31704494636c71894ec8850c570056d0b8b9bac (diff)
Remove unused init methods
-rw-r--r--tikzit/src/gtk/ContextWindow.m3
-rw-r--r--tikzit/src/gtk/PropertiesPane.h4
-rw-r--r--tikzit/src/gtk/PropertiesPane.m11
3 files changed, 1 insertions, 17 deletions
diff --git a/tikzit/src/gtk/ContextWindow.m b/tikzit/src/gtk/ContextWindow.m
index a4d33ae..9f376a0 100644
--- a/tikzit/src/gtk/ContextWindow.m
+++ b/tikzit/src/gtk/ContextWindow.m
@@ -65,8 +65,7 @@ static gboolean props_window_delete_event_cb (GtkWidget *widget, GdkEvent *event
gtk_container_add (GTK_CONTAINER (window), layout);
- propsPane = [[PropertiesPane alloc] initWithNodeStylesModel:nsm
- andEdgeStylesModel:esm];
+ propsPane = [[PropertiesPane alloc] init];
gtk_box_pack_start (GTK_BOX (layout), [propsPane gtkWidget],
TRUE, TRUE, 0);
diff --git a/tikzit/src/gtk/PropertiesPane.h b/tikzit/src/gtk/PropertiesPane.h
index 433c400..bde4424 100644
--- a/tikzit/src/gtk/PropertiesPane.h
+++ b/tikzit/src/gtk/PropertiesPane.h
@@ -59,10 +59,6 @@
@property (assign) BOOL visible;
@property (readonly) GtkWidget *gtkWidget;
-- (id) initWithStyleManager:(StyleManager*)mgr;
-- (id) initWithNodeStylesModel:(NodeStylesModel*)nsm
- andEdgeStylesModel:(EdgeStylesModel*)esm;
-
- (void) loadConfiguration:(Configuration*)config;
- (void) saveConfiguration:(Configuration*)config;
diff --git a/tikzit/src/gtk/PropertiesPane.m b/tikzit/src/gtk/PropertiesPane.m
index d672c52..a062bae 100644
--- a/tikzit/src/gtk/PropertiesPane.m
+++ b/tikzit/src/gtk/PropertiesPane.m
@@ -80,17 +80,6 @@ static void edge_node_toggled_cb (GtkToggleButton *widget, PropertiesPane *pane)
@implementation PropertiesPane
-// we don't currently use the styles models
-- (id) initWithStyleManager:(StyleManager*)sm {
- return [self init];
-}
-
-// we don't currently use the styles models
-- (id) initWithNodeStylesModel:(NodeStylesModel*)nsm
- andEdgeStylesModel:(EdgeStylesModel*)esm {
- return [self init];
-}
-
- (id) init {
self = [super init];