diff options
author | Denis Gorodnichev <[email protected]> | 2014-10-05 22:13:58 +0400 |
---|---|---|
committer | Denis Gorodnichev <[email protected]> | 2014-10-05 22:13:58 +0400 |
commit | 67db37cfac003cb62f085cd38c6a6f59e53efc7b (patch) | |
tree | d46df93c882d443263eb61e477b1cfa407155842 /src/gpm-graph-widget.c | |
parent | a61e7a9a75867d7b85b3dde2b1a6fad4c9a7a729 (diff) | |
download | mate-power-manager-67db37cfac003cb62f085cd38c6a6f59e53efc7b.tar.bz2 mate-power-manager-67db37cfac003cb62f085cd38c6a6f59e53efc7b.tar.xz |
correctly call cairo_destroy
fix memory leak with gtk2 runtime
cairo assertion with gtk3
Diffstat (limited to 'src/gpm-graph-widget.c')
-rw-r--r-- | src/gpm-graph-widget.c | 2 |
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; |