summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2011-11-28 18:17:33 +0100
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2011-11-28 18:19:50 +0100
commitfc6fec59ba45df0ce6288fbf3d3197f1682c73df (patch)
tree55e26f9762b4c696cf6c8c453f77b8e6762a47d6 /gtk-gui.c
parent36db51f2e73c73281b9b111127356827e0328997 (diff)
downloadsubsurface-fc6fec59ba45df0ce6288fbf3d3197f1682c73df.tar.gz
Define all colors in one place
The profile colors were defined all over the place, so I put them all in one spot. I'm unsure if this is the best solution to that problem, but I guess it's a step in the right direction. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index b72aeca2b..3450a5975 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) {