Commit 35c96c2c authored by Benjamin Otte's avatar Benjamin Otte

Add braces to appease gcc

-ftrack-macro-expansion=0 doesn't like if statements without braces when
evaluating indentation levels.
parent c8b301f1
......@@ -573,7 +573,9 @@ gtk_compose_table_serialize (GtkComposeTable *compose_table,
(long long) (p - contents), total_length); \
g_free (contents); \
if (count) \
*count = 0; \
{ \
*count = 0; \
} \
return NULL; \
}
......
......@@ -507,11 +507,17 @@ gtk_css_selector_ ## n ## _add_specificity (const GtkCssSelector *selector, \
guint *elements) \
{ \
if (increase_id_specificity) \
(*ids)++; \
{ \
(*ids)++; \
} \
if (increase_class_specificity) \
(*classes)++; \
{ \
(*classes)++; \
} \
if (increase_element_specificity) \
(*elements)++; \
{ \
(*elements)++; \
} \
} \
\
static const GtkCssSelectorClass GTK_CSS_SELECTOR_ ## c = { \
......
......@@ -351,8 +351,10 @@ gtk_widget_query_size_for_orientation (GtkWidget *widget,
: "height for width",
for_size, min_size, nat_size);
if (min_baseline != -1 || nat_baseline != -1)
g_string_append_printf (s, ", baseline %d/%d",
min_baseline, nat_baseline);
{
g_string_append_printf (s, ", baseline %d/%d",
min_baseline, nat_baseline);
}
g_string_append_printf (s, " (hit cache: %s)\n",
found_in_cache ? "yes" : "no");
g_message ("%s", s->str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment