From: Jean-Philippe Orsini Date: Fri, 6 May 2011 22:40:36 +0000 (+0000) Subject: use gtk_widget_get_window instead of struct field X-Git-Tag: v0.8.0.5~781 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=45491f448373645e6984ba2c1bd130cdd8b7f5f9 use gtk_widget_get_window instead of struct field --- diff --git a/src/graph.c b/src/graph.c index be253b7..2625ce5 100644 --- a/src/graph.c +++ b/src/graph.c @@ -314,7 +314,7 @@ graph_update(struct psensor **sensors, } } - cr_pixmap = gdk_cairo_create(w_graph->window); + cr_pixmap = gdk_cairo_create(gtk_widget_get_window(w_graph)); if (cr_pixmap) {