summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gpm-graph-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-graph-widget.c b/src/gpm-graph-widget.c
index 44ca047..1f6f9ed 100644
--- a/src/gpm-graph-widget.c
+++ b/src/gpm-graph-widget.c
@@ -1184,7 +1184,7 @@ gpm_graph_widget_expose (GtkWidget *graph, GdkEventExpose *event)
gpm_graph_widget_draw_graph (graph, cr);
-#if GTK_CHECK_VERSION (3, 0, 0)
+#if !GTK_CHECK_VERSION (3, 0, 0)
cairo_destroy (cr);
#endif
return FALSE;