[Xfce4-commits] <garcon:master> Minor cosmetic changes.
Jannis Pohlmann
jannis at xfce.org
Sat Aug 29 21:08:01 CEST 2009
Updating branch refs/heads/master
to ee318529ea9cb433c2ed12d23c6e23572610a5bc (commit)
from e2a4d5fb5c86ce85f877fc365dde33f75699a800 (commit)
commit ee318529ea9cb433c2ed12d23c6e23572610a5bc
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Sat Aug 29 21:06:12 2009 +0200
Minor cosmetic changes.
garcon/garcon-menu-item.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
index 85436c8..6974b92 100644
--- a/garcon/garcon-menu-item.c
+++ b/garcon/garcon-menu-item.c
@@ -35,9 +35,9 @@
-#define GET_LOCALE_KEY(type, key) g_key_file_get_locale_##type (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL, NULL)
-#define GET_KEY(type, key) g_key_file_get_##type (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL)
-#define GET_STRING_LIST(key) g_key_file_get_string_list (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL, NULL)
+#define GET_LOCALE_KEY(type, key) (g_key_file_get_locale_##type (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL, NULL))
+#define GET_KEY(type, key) (g_key_file_get_##type (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL))
+#define GET_STRING_LIST(key) (g_key_file_get_string_list (rc, G_KEY_FILE_DESKTOP_GROUP, key, NULL, NULL))
@@ -675,8 +675,7 @@ garcon_menu_item_new (GFile *file)
g_return_val_if_fail (G_IS_FILE (file), NULL);
/* Load the contents of the file */
- if (!g_file_load_contents (file, NULL, &contents, &length, NULL, NULL)
- || length == 0)
+ if (!g_file_load_contents (file, NULL, &contents, &length, NULL, NULL) || length == 0)
return NULL;
/* Open the keyfile */
More information about the Xfce4-commits
mailing list