X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=gtk-gui.c;h=3450a59750161e375ac2b62614d43cbdec7ed6b4;hb=52748412fff0974fbc76b3f0a72cd0ba58b37771;hp=b72aeca2b5f8bb2872fadf5872ed559a4437fb54;hpb=ee68ada729837162e29d879ca408836d0d66c7ac;p=ext%2Fsubsurface.git diff --git a/gtk-gui.c b/gtk-gui.c index b72aeca..3450a59 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -778,7 +778,7 @@ static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer gc.cr = gdk_cairo_create(widget->window); g_object_set(widget, "has-tooltip", TRUE, NULL); g_signal_connect(widget, "query-tooltip", G_CALLBACK(profile_tooltip), &drawing_area); - set_source_rgb(&gc, 0, 0, 0); + init_profile_background(&gc); cairo_paint(gc.cr); if (dive) {