summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Wauthy <pollux@xfce.org>2007-12-15 16:38:37 +0000
committerJean-François Wauthy <pollux@xfce.org>2007-12-15 16:38:37 +0000
commit319d0a89607eeb1e4b1f0a34131117941070b44f (patch)
tree2379d2a64050e55feaece5a83226510f4bb927ba
parent1373a5e4cd7207f4dab89aa713cd744cb9ff5310 (diff)
downloadxfdesktop-319d0a89607eeb1e4b1f0a34131117941070b44f.tar.gz
don't like braces with only one line in if statement
(Old svn revision: 26481)
-rw-r--r--menueditor/menueditor-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menueditor/menueditor-main-window.c b/menueditor/menueditor-main-window.c
index a72749dd..a990a82c 100644
--- a/menueditor/menueditor-main-window.c
+++ b/menueditor/menueditor-main-window.c
@@ -312,9 +312,9 @@ menueditor_main_window_init (MenuEditorMainWindow * mainwin)
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);