[Xfce4-commits] r26481 - xfdesktop/branches/xfce_4_4/menueditor

Jean-François Wauthy pollux at xfce.org
Sat Dec 15 17:38:37 CET 2007


Author: pollux
Date: 2007-12-15 16:38:37 +0000 (Sat, 15 Dec 2007)
New Revision: 26481

Modified:
   xfdesktop/branches/xfce_4_4/menueditor/menueditor-main-window.c
Log:
don't like braces with only one line in if statement

Modified: xfdesktop/branches/xfce_4_4/menueditor/menueditor-main-window.c
===================================================================
--- xfdesktop/branches/xfce_4_4/menueditor/menueditor-main-window.c	2007-12-15 16:35:01 UTC (rev 26480)
+++ xfdesktop/branches/xfce_4_4/menueditor/menueditor-main-window.c	2007-12-15 16:38:37 UTC (rev 26481)
@@ -312,9 +312,9 @@
   treestore =
     gtk_tree_store_new (COLUMNS, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_INT,
                         G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
-  if (G_UNLIKELY (!G_IS_OBJECT (treestore))) {
+  if (G_UNLIKELY (!G_IS_OBJECT (treestore)))
     g_error ("Could not initialize the treestore");
-  }
+
   scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
   gtk_widget_show (scrolledwindow);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);



More information about the Xfce4-commits mailing list