summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-29 05:00:58 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-29 05:00:58 +0000
commitff6d2ea9a273ac0aa3a95ece22cd783a5b49aa23 (patch)
tree945708038320de57417f672f47ee0c4446b25493 /src/widgets/stroke-style.cpp
parentOops - obviously the previous fix didn't work outside Windows (diff)
downloadinkscape-ff6d2ea9a273ac0aa3a95ece22cd783a5b49aa23.tar.gz
inkscape-ff6d2ea9a273ac0aa3a95ece22cd783a5b49aa23.zip
Purge use of SP_ACTIVE_* and encapsulate by moving 'active' desktop tracking out of lower-level panels. Fixes bug #270623.
Fixed bugs: - https://launchpad.net/bugs/270623 (bzr r9252)
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index d6a38f978..f020b0c3a 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -56,6 +56,7 @@
#include "xml/repr.h"
#include "stroke-style.h"
+#include "fill-style.h" // to get sp_fill_style_widget_set_desktop
#include "fill-n-stroke-factory.h"
/** Marker selection option menus */
@@ -72,11 +73,17 @@ static void ink_markers_menu_update(Gtk::Container* spw, SPMarkerLoc const
static Inkscape::UI::Cache::SvgPreview svg_preview_cache;
-GtkWidget *sp_stroke_style_paint_widget_new(void)
+Gtk::Widget *sp_stroke_style_paint_widget_new(void)
{
return Inkscape::Widgets::createStyleWidget( STROKE );
}
+void sp_stroke_style_widget_set_desktop(Gtk::Widget *widget, SPDesktop *desktop)
+{
+ sp_fill_style_widget_set_desktop(widget, desktop);
+}
+
+
/* Line */