diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-03-01 09:09:39 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-03-01 09:09:39 +0000 |
| commit | d97e88a26859a911564a285d078222cbc2d612a3 (patch) | |
| tree | 2ea7cf74ec28a3f526b1dbd89b99728c2972f7d6 /src/extension/paramnotebook.h | |
| parent | Fix to check for out of bounds index *before* using the array index (diff) | |
| download | inkscape-d97e88a26859a911564a285d078222cbc2d612a3.tar.gz inkscape-d97e88a26859a911564a285d078222cbc2d612a3.zip | |
Warning and whitespace cleanup
(bzr r4914)
Diffstat (limited to 'src/extension/paramnotebook.h')
| -rw-r--r-- | src/extension/paramnotebook.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/extension/paramnotebook.h b/src/extension/paramnotebook.h index 4b98ea967..7f976113a 100644 --- a/src/extension/paramnotebook.h +++ b/src/extension/paramnotebook.h @@ -1,5 +1,5 @@ -#ifndef __INK_EXTENSION_PARAMNOTEBOOK_H__ -#define __INK_EXTENSION_PARAMNOTEBOOK_H__ +#ifndef INK_EXTENSION_PARAMNOTEBOOK_H_SEEN +#define INK_EXTENSION_PARAMNOTEBOOK_H_SEEN /** \file * Notebook parameter for extensions. @@ -30,10 +30,10 @@ namespace Extension { class ParamNotebook : public Parameter { private: /** \brief Internal value. This should point to a string that has - been allocated in memory. And should be free'd. + been allocated in memory. And should be free'd. It is the name of the current page. */ gchar * _value; - + GSList * pages; /**< A table to store the pages with parameters for this notebook. This only gets created if there are pages in this notebook */ @@ -42,8 +42,8 @@ public: virtual ~ParamNotebook(void); Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); void string (std::list <std::string> &list); - - const gchar * get (const SPDocument * doc, const Inkscape::XML::Node * node) { return _value; } + + const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; } const gchar * set (const int in, SPDocument * doc, Inkscape::XML::Node * node); }; /* class ParamNotebook */ @@ -54,7 +54,7 @@ public: } /* namespace Extension */ } /* namespace Inkscape */ -#endif /* __INK_EXTENSION_PARAMNOTEBOOK_H__ */ +#endif /* INK_EXTENSION_PARAMNOTEBOOK_H_SEEN */ /* Local Variables: |
