]> git.tdb.fi Git - ext/subsurface.git/blobdiff - gtk-gui.c
Fix some issues with star rating code
[ext/subsurface.git] / gtk-gui.c
index b72aeca2b5f8bb2872fadf5872ed559a4437fb54..3450a59750161e375ac2b62614d43cbdec7ed6b4 100644 (file)
--- 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) {