From be15360b7bf0790a49340a4bbacbb0770d7b11cd Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Tue, 15 Oct 2013 10:29:41 +0100 Subject: eek-preview: Hide unused variable in gtk3 build (bzr r12691) --- src/widgets/eek-preview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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(priv->r), static_cast(priv->g), static_cast(priv->b) }; +#endif gint insetTop = 0, insetBottom = 0; gint insetLeft = 0, insetRight = 0; -- cgit v1.2.3