From 69ef9ccc0b876eb1423e257159d2c427cdd74a50 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Sun, 9 Jul 2017 14:37:23 +0100 Subject: [PATCH] Replace style strings with proper defined types --- src/gnome-utils/gnc-dense-cal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gnome-utils/gnc-dense-cal.c b/src/gnome-utils/gnc-dense-cal.c index d958527db1..1415af171c 100644 --- a/src/gnome-utils/gnc-dense-cal.c +++ b/src/gnome-utils/gnc-dense-cal.c @@ -906,7 +906,7 @@ gnc_style_context_get_background_color (GtkStyleContext *context, gtk_style_context_get (context, state, - "background-color", &c, + GTK_STYLE_PROPERTY_BACKGROUND_COLOR, &c, NULL); *color = *c; gdk_rgba_free (c); @@ -924,7 +924,7 @@ gnc_style_context_get_border_color (GtkStyleContext *context, gtk_style_context_get (context, state, - "border-color", &c, + GTK_STYLE_PROPERTY_BORDER_COLOR, &c, NULL); *color = *c; gdk_rgba_free (c);