summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshadowvalue.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-04-18 15:24:13 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-04-18 15:24:13 -0400
commitef8e8ba14d3f316dbade504b7481b38085bfabc0 (patch)
tree27d8bc1204fe7ae6115d02650d9ab27e3cd90b8d /gtk/gtkcssshadowvalue.c
parentaf858d51a87f1be1c8c03d050e1a56b0d89c0993 (diff)
downloadgtk+-ef8e8ba14d3f316dbade504b7481b38085bfabc0.tar.gz
css: Give none singletons unique names
This makes for a less confusing experience in gdb.
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r--gtk/gtkcssshadowvalue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index 9a0917ef94..f66d34205f 100644
--- a/gtk/gtkcssshadowvalue.c
+++ b/gtk/gtkcssshadowvalue.c
@@ -288,12 +288,12 @@ static const GtkCssValueClass GTK_CSS_VALUE_SHADOW = {
gtk_css_value_shadow_print
};
-static GtkCssValue none_singleton = { &GTK_CSS_VALUE_SHADOW, 1, TRUE, 0 };
+static GtkCssValue shadow_none_singleton = { &GTK_CSS_VALUE_SHADOW, 1, TRUE, 0 };
GtkCssValue *
gtk_css_shadow_value_new_none (void)
{
- return _gtk_css_value_ref (&none_singleton);
+ return _gtk_css_value_ref (&shadow_none_singleton);
}
static GtkCssValue *