summaryrefslogtreecommitdiffstats
path: root/src/widgets/eek-preview.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-16 09:40:21 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-16 09:40:21 +0000
commit3d8196c9c565f03727b6a4801c45b332424feb70 (patch)
treee2fff8a623c7328f6d9ae98ce23ce4a9d06d98c3 /src/widgets/eek-preview.cpp
parentUpdate motion redraw of bsplines (diff)
parentadd (commented-out) flag for C++11 compilation. (note that on Windows we use ... (diff)
downloadinkscape-3d8196c9c565f03727b6a4801c45b332424feb70.tar.gz
inkscape-3d8196c9c565f03727b6a4801c45b332424feb70.zip
Update to trunk
(bzr r11950.1.184)
Diffstat (limited to 'src/widgets/eek-preview.cpp')
-rw-r--r--src/widgets/eek-preview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/eek-preview.cpp b/src/widgets/eek-preview.cpp
index 988aa2453..19dbb04ab 100644
--- a/src/widgets/eek-preview.cpp
+++ b/src/widgets/eek-preview.cpp
@@ -245,12 +245,14 @@ gboolean eek_preview_draw(GtkWidget *widget,
GtkAllocation allocation;
gtk_widget_get_allocation(widget, &allocation);
-
+
+#if !GTK_CHECK_VERSION(3,0,0)
GdkColor fg = { 0,
static_cast<guint16>(priv->r),
static_cast<guint16>(priv->g),
static_cast<guint16>(priv->b)
};
+#endif
gint insetTop = 0, insetBottom = 0;
gint insetLeft = 0, insetRight = 0;