diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-10-15 09:29:41 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-10-15 09:29:41 +0000 |
| commit | be15360b7bf0790a49340a4bbacbb0770d7b11cd (patch) | |
| tree | e3b5d67937e5499859f56d0ad9a961ffd16efe86 /src | |
| parent | Replace deprecated thread protection macros (diff) | |
| download | inkscape-be15360b7bf0790a49340a4bbacbb0770d7b11cd.tar.gz inkscape-be15360b7bf0790a49340a4bbacbb0770d7b11cd.zip | |
eek-preview: Hide unused variable in gtk3 build
(bzr r12691)
Diffstat (limited to 'src')
| -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; |
