[gtk+] [gtk/gtktextview] Use {} in empty if..else blocks



commit 62bfbe91d89bf7c4c91bd4384649c01dccde2b74
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Dec 2 09:27:12 2009 +0100

    [gtk/gtktextview] Use {} in empty if..else blocks

 gtk/gtktextview.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 0c41e24..bbbdf6b 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1865,9 +1865,13 @@ gtk_text_view_scroll_to_iter (GtkTextView   *text_view,
     }
   
   if (retval)
-    DV(g_print (">Actually scrolled ("G_STRLOC")\n"));
+    {
+      DV(g_print (">Actually scrolled ("G_STRLOC")\n"));
+    }
   else
-    DV(g_print (">Didn't end up scrolling ("G_STRLOC")\n"));
+    {
+      DV(g_print (">Didn't end up scrolling ("G_STRLOC")\n"));
+    }
   
   return retval;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]