diff options
-rw-r--r-- | tikzit/src/gtk/ContextWindow.m | 3 | ||||
-rw-r--r-- | tikzit/src/gtk/PropertiesPane.h | 4 | ||||
-rw-r--r-- | tikzit/src/gtk/PropertiesPane.m | 11 |
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]; |