diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2011-11-28 18:17:33 +0100 |
---|---|---|
committer | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2011-11-28 18:19:50 +0100 |
commit | fc6fec59ba45df0ce6288fbf3d3197f1682c73df (patch) | |
tree | 55e26f9762b4c696cf6c8c453f77b8e6762a47d6 /gtk-gui.c | |
parent | 36db51f2e73c73281b9b111127356827e0328997 (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |