diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-12 12:20:04 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-12 12:20:04 +0000 |
| commit | aade0f7b5d272eb8a95b5f5ea6f8978ce24b8a72 (patch) | |
| tree | 4ccdbf9ccc5a0bce690d6f649dd3d1af3950579c /src/widgets/sp-attribute-widget.h | |
| parent | fix build warning (diff) | |
| download | inkscape-aade0f7b5d272eb8a95b5f5ea6f8978ce24b8a72.tar.gz inkscape-aade0f7b5d272eb8a95b5f5ea6f8978ce24b8a72.zip | |
Further migration to Gtk::Grid
(bzr r12196)
Diffstat (limited to 'src/widgets/sp-attribute-widget.h')
| -rw-r--r-- | src/widgets/sp-attribute-widget.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/widgets/sp-attribute-widget.h b/src/widgets/sp-attribute-widget.h index fb8a74632..d9b972201 100644 --- a/src/widgets/sp-attribute-widget.h +++ b/src/widgets/sp-attribute-widget.h @@ -15,13 +15,22 @@ #ifndef SEEN_DIALOGS_SP_ATTRIBUTE_WIDGET_H #define SEEN_DIALOGS_SP_ATTRIBUTE_WIDGET_H -#include <gtkmm/table.h> +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include <gtkmm/widget.h> #include <stddef.h> #include <sigc++/connection.h> namespace Gtk { class Entry; + +#if WITH_GTKMM_3_0 +class Grid; +#else +class Table; +#endif } namespace Inkscape { @@ -126,12 +135,16 @@ public: bool blocked; private: - /** + /** * Container widget for the dynamically created child widgets (labels and entry boxes). */ +#if WITH_GTKMM_3_0 + Gtk::Grid *table; +#else Gtk::Table *table; +#endif - /** + /** * List of attributes. * * _attributes stores the attribute names of the selected object that |
