diff options
author | Timm Bäder <mail@baedert.org> | 2018-04-21 19:18:20 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-04-21 19:18:20 +0200 |
commit | 5b453ecd19081d82d3d3db2cf12c5f92eaecf41e (patch) | |
tree | 65a88b57ef94a36ca8789d74bb9c6b084638dcdb /gtk/gtkbuilder.c | |
parent | 9b8ff8d6c365bbba2f1274e9f5f0fd30d77a7b7d (diff) | |
download | gtk+-5b453ecd19081d82d3d3db2cf12c5f92eaecf41e.tar.gz |
Always use #ifdef for G_ENABLE_DEBUG
Release builds don't define it to 0, they just don't define it. Avoid
the compilation warning we get otherwise.
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index dc18c1faa2..accb204779 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -810,7 +810,7 @@ _gtk_builder_construct (GtkBuilder *builder, else g_object_set_property (obj, name, value); -#if G_ENABLE_DEBUG +#ifdef G_ENABLE_DEBUG if (GTK_DEBUG_CHECK (BUILDER)) { gchar *str = g_strdup_value_contents (value); @@ -874,7 +874,7 @@ _gtk_builder_apply_properties (GtkBuilder *builder, else g_object_set_property (info->object, name, value); -#if G_ENABLE_DEBUG +#ifdef G_ENABLE_DEBUG if (GTK_DEBUG_CHECK (BUILDER)) { gchar *str = g_strdup_value_contents (value); |