aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liblogdiag/ld-category-symbol-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/liblogdiag/ld-category-symbol-view.c b/liblogdiag/ld-category-symbol-view.c
index 2f4e2d9..ca8e4f2 100644
--- a/liblogdiag/ld-category-symbol-view.c
+++ b/liblogdiag/ld-category-symbol-view.c
@@ -353,7 +353,10 @@ on_draw (GtkWidget *widget, cairo_t *cr)
return FALSE;
context = gtk_widget_get_style_context (widget);
- // FIXME: there have to be better means (though I can't find them)
+
+ // XXX: alternatively, we could use gtk_style_context_lookup_color()
+ // with hardcoded colour names ("theme_*_color")--this is cleaner,
+ // and unlike GtkStyle doesn't cause deprecation warnings
gtk_style_context_add_class (context, "gtkstyle-fallback");
gtk_style_context_get_background_color (context,