diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-16 10:05:16 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-16 10:05:16 +0000 |
| commit | 098590935052a42027c47f8635ae6f11cf35503b (patch) | |
| tree | 141ba0f404001acb91e6b173360c4485c453a0c8 /src/widgets/eek-preview.cpp | |
| parent | fixing bend warnings (diff) | |
| parent | add (commented-out) flag for C++11 compilation. (note that on Windows we use ... (diff) | |
| download | inkscape-098590935052a42027c47f8635ae6f11cf35503b.tar.gz inkscape-098590935052a42027c47f8635ae6f11cf35503b.zip | |
Update to trunk
(bzr r12588.1.17)
Diffstat (limited to 'src/widgets/eek-preview.cpp')
| -rw-r--r-- | src/widgets/eek-preview.cpp | 4 |
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; |
