diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-10 10:38:21 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-10 10:38:21 +0000 |
| commit | b15a1b0f69711ff3a82a25b3aacfffbbb94df0ff (patch) | |
| tree | 3d8ad778809ef1723e6b7067cd80e215724f197a /src/ui/dialog | |
| parent | Additional cleanup. (diff) | |
| download | inkscape-b15a1b0f69711ff3a82a25b3aacfffbbb94df0ff.tar.gz inkscape-b15a1b0f69711ff3a82a25b3aacfffbbb94df0ff.zip | |
Adopt obsolete GtkAnchorType enum as SPAnchorType
(bzr r11207)
Diffstat (limited to 'src/ui/dialog')
| -rw-r--r-- | src/ui/dialog/swatches.cpp | 4 | ||||
| -rw-r--r-- | src/ui/dialog/swatches.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/dialog/swatches.cpp b/src/ui/dialog/swatches.cpp index a1768363c..092887541 100644 --- a/src/ui/dialog/swatches.cpp +++ b/src/ui/dialog/swatches.cpp @@ -666,14 +666,14 @@ SwatchesPanel::~SwatchesPanel() } } -void SwatchesPanel::setOrientation( Gtk::AnchorType how ) +void SwatchesPanel::setOrientation(SPAnchorType how) { // Must call the parent class or bad things might happen Inkscape::UI::Widget::Panel::setOrientation( how ); if ( _holder ) { - _holder->setOrientation( Gtk::ANCHOR_SOUTH ); + _holder->setOrientation(SP_ANCHOR_SOUTH); } } diff --git a/src/ui/dialog/swatches.h b/src/ui/dialog/swatches.h index 0ff795ac3..ca4c1687d 100644 --- a/src/ui/dialog/swatches.h +++ b/src/ui/dialog/swatches.h @@ -11,6 +11,7 @@ #define SEEN_DIALOGS_SWATCHES_H #include "ui/widget/panel.h" +#include "enums.h" namespace Inkscape { namespace UI { @@ -34,7 +35,7 @@ public: static SwatchesPanel& getInstance(); - virtual void setOrientation( Gtk::AnchorType how ); + virtual void setOrientation(SPAnchorType how); virtual void setDesktop( SPDesktop* desktop ); virtual SPDesktop* getDesktop() {return _currentDesktop;} |
