[gtk+] gtk/gtkstylecascade.c: Fix formatting
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkstylecascade.c: Fix formatting
- Date: Thu, 30 Jun 2016 10:02:05 +0000 (UTC)
commit 51444b7909cca57238149c519ff8c353b2c47b7b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 30 18:00:47 2016 +0800
gtk/gtkstylecascade.c: Fix formatting
My previous patch on this file did not take into the account of the
formatting, sorry!
gtk/gtkstylecascade.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstylecascade.c b/gtk/gtkstylecascade.c
index 7a8950b..7d947b2 100644
--- a/gtk/gtkstylecascade.c
+++ b/gtk/gtkstylecascade.c
@@ -50,12 +50,13 @@ gtk_style_cascade_iter_next (GtkStyleCascade *cascade,
for (cas = cascade, ix = 0; ix < iter->n_cascades; cas = cas->parent, ix++)
{
GtkStyleProviderData *data;
+
if (iter->cascade_index[ix] <= 0)
continue;
data = &g_array_index (cas->providers,
- GtkStyleProviderData,
- iter->cascade_index[ix] - 1);
+ GtkStyleProviderData,
+ iter->cascade_index[ix] - 1);
if (highest_priority_data == NULL || data->priority > highest_priority_data->priority)
{
highest_priority_index = ix;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]