[gtk+] tray: Add suggested braces around empty body in 'if' statements
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tray: Add suggested braces around empty body in 'if' statements
- Date: Sat, 7 Apr 2012 11:05:26 +0000 (UTC)
commit b5714ea2657e82b55f85796ef1bba935bcd73632
Author: Benjamin Otte <otte redhat com>
Date: Sat Apr 7 12:56:39 2012 +0200
tray: Add suggested braces around empty body in 'if' statements
gtk/gtktrayicon-x11.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 734bf18..8295161 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -755,8 +755,10 @@ gtk_tray_icon_manager_filter (GdkXEvent *xevent,
gtk_tray_icon_manager_window_destroyed (icon);
}
else
- GTK_NOTE (PLUGSOCKET,
- g_print ("GtkStatusIcon %p: got other message on manager window\n", icon));
+ {
+ GTK_NOTE (PLUGSOCKET,
+ g_print ("GtkStatusIcon %p: got other message on manager window\n", icon));
+ }
}
return GDK_FILTER_CONTINUE;
@@ -879,8 +881,10 @@ gtk_tray_icon_update_manager_window (GtkTrayIcon *icon)
}
}
else
- GTK_NOTE (PLUGSOCKET,
- g_print ("GtkStatusIcon %p: no tray manager found\n", icon));
+ {
+ GTK_NOTE (PLUGSOCKET,
+ g_print ("GtkStatusIcon %p: no tray manager found\n", icon));
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]