diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-02-20 09:11:27 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-02-20 09:11:27 +0000 |
| commit | ae099de0a892d06655ad7143c1443fec5ca517e2 (patch) | |
| tree | eaf460ba9619d9b843f95f2d0bae3b4d6b875cc9 /src/dialogs/swatches.cpp | |
| parent | fix Bug #191909 crash on lpe stitch sub-paths, also fix crash for bend path lpe (diff) | |
| download | inkscape-ae099de0a892d06655ad7143c1443fec5ca517e2.tar.gz inkscape-ae099de0a892d06655ad7143c1443fec5ca517e2.zip | |
Decoupled swatch sizes from icon sizes
(bzr r4790)
Diffstat (limited to 'src/dialogs/swatches.cpp')
| -rw-r--r-- | src/dialogs/swatches.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp index 709bce25a..28c21e270 100644 --- a/src/dialogs/swatches.cpp +++ b/src/dialogs/swatches.cpp @@ -503,7 +503,7 @@ void ColorItem::_colorDefChanged(void* data) } -Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, Inkscape::IconSize size) +Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, ::PreviewSize size) { Gtk::Widget* widget = 0; if ( style == PREVIEW_STYLE_BLURB ) { @@ -522,7 +522,7 @@ Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, Inkscape:: eek_preview_set_color( preview, (def.getR() << 8) | def.getR(), (def.getG() << 8) | def.getG(), (def.getB() << 8) | def.getB()); - eek_preview_set_details( preview, (::PreviewStyle)style, (::ViewType)view, (::GtkIconSize)size ); + eek_preview_set_details( preview, (::PreviewStyle)style, (::ViewType)view, (::PreviewSize)size ); eek_preview_set_linked( preview, (LinkType)((_linkSrc ? PREVIEW_LINK_IN:0) | (_listeners.empty() ? 0:PREVIEW_LINK_OUT) | (_isLive ? PREVIEW_LINK_OTHER:0)) ); |
