From 5657d853070368da634acf7954db984885e23982 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 8 Oct 2011 19:34:05 +0200 Subject: fixed few regressions after gtk3 port --- plugins/gtkui/ddbequalizer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/gtkui/ddbequalizer.c') diff --git a/plugins/gtkui/ddbequalizer.c b/plugins/gtkui/ddbequalizer.c index ea31a742..88a9356e 100644 --- a/plugins/gtkui/ddbequalizer.c +++ b/plugins/gtkui/ddbequalizer.c @@ -826,10 +826,10 @@ static gboolean ddb_equalizer_real_draw (GtkWidget *base, cairo_t *cr) { #if !GTK_CHECK_VERSION(3,0,0) static gboolean ddb_equalizer_real_expose_event (GtkWidget* base, GdkEventExpose* event) { g_return_val_if_fail (event != NULL, FALSE); - cairo_t *ctx= gdk_cairo_create ((GdkDrawable*) gtk_widget_get_window (base)); + cairo_t *cr= gdk_cairo_create ((GdkDrawable*) gtk_widget_get_window (base)); ddb_equalizer_real_draw (base, cr); - _cairo_destroy0 (ctx); - return result; + _cairo_destroy0 (cr); + return FALSE; } #endif -- cgit v1.2.3