summaryrefslogtreecommitdiffstats
path: root/src/widgets/sp-attribute-widget.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-12 12:20:04 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-12 12:20:04 +0000
commitaade0f7b5d272eb8a95b5f5ea6f8978ce24b8a72 (patch)
tree4ccdbf9ccc5a0bce690d6f649dd3d1af3950579c /src/widgets/sp-attribute-widget.h
parentfix build warning (diff)
downloadinkscape-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.h19
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