glMiniPreview *this = GL_MINI_PREVIEW (widget);
GdkWindow *window;
cairo_t *cr;
- gdouble scale;
gdouble x, y;
gint i;
cr = gdk_cairo_create (window);
- scale = set_transform_and_get_scale (this, cr);
+ set_transform_and_get_scale (this, cr);
x = event->x;
y = event->y;
glMiniPreview *this = GL_MINI_PREVIEW (widget);
GdkWindow *window;
cairo_t *cr;
- gdouble scale;
gdouble x, y;
gint i;
cr = gdk_cairo_create (window);
- scale = set_transform_and_get_scale (this, cr);
+ set_transform_and_get_scale (this, cr);
x = event->x;
y = event->y;
lglTemplateOrigin *origins;
GtkStyle *style;
guint base_color;
- guint highlight_color, paper_color, outline_color;
+ guint highlight_color, outline_color;
gl_debug (DEBUG_MINI_PREVIEW, "START");
style = gtk_widget_get_style (GTK_WIDGET(this));
base_color = gl_color_from_gdk_color (&style->base[GTK_STATE_SELECTED]);
- paper_color = gl_color_from_gdk_color (&style->light[GTK_STATE_NORMAL]);
highlight_color = gl_color_set_opacity (base_color, 0.10);
if (this->priv->label)
{