diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-12-31 07:25:54 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-12-31 07:25:54 +0000 |
| commit | e2d700aedc900f856dc77a99f1daa37e3f966f6d (patch) | |
| tree | d6a1f6e1ecb54055458f15062c85f83a5ddc86a8 /src/widgets/sp-attribute-widget.h | |
| parent | Define missing key macros for GTK < 2.22 (diff) | |
| download | inkscape-e2d700aedc900f856dc77a99f1daa37e3f966f6d.tar.gz inkscape-e2d700aedc900f856dc77a99f1daa37e3f966f6d.zip | |
Item properties dialog:
- commenting out function that is (currently?) not used
- some more resource saving
(bzr r10810)
Diffstat (limited to 'src/widgets/sp-attribute-widget.h')
| -rw-r--r-- | src/widgets/sp-attribute-widget.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/sp-attribute-widget.h b/src/widgets/sp-attribute-widget.h index 1491a3ab3..bfa26e4f2 100644 --- a/src/widgets/sp-attribute-widget.h +++ b/src/widgets/sp-attribute-widget.h @@ -37,9 +37,10 @@ public: SPAttributeTable (SPObject *object, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* ExpanderContainer); ~SPAttributeTable (); void set_object(SPObject *object, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* ExpanderContainer); - void set_repr(Inkscape::XML::Node *repr, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* ExpanderContainer); + void change_object(SPObject *object); + // void set_repr(Inkscape::XML::Node *repr, std::vector<Glib::ustring> &labels, std::vector<Glib::ustring> &attributes, GtkWidget* ExpanderContainer); std::vector<Glib::ustring> get_attributes(void) {return _attributes;}; - std::vector<Gtk::Widget *> get_entries(void) {return _entries;}; + std::vector<Gtk::Entry *> get_entries(void) {return _entries;}; union { SPObject *object; Inkscape::XML::Node *repr; @@ -50,7 +51,7 @@ public: private: Gtk::Table *table; std::vector<Glib::ustring> _attributes; - std::vector<Gtk::Widget *> _entries; + std::vector<Gtk::Entry *> _entries; sigc::connection modified_connection; void clear(void); |
