aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-meego.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /shell/e-shell-meego.c
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'shell/e-shell-meego.c')
-rw-r--r--shell/e-shell-meego.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/shell/e-shell-meego.c b/shell/e-shell-meego.c
index e339a1ff0d..4833ab5154 100644
--- a/shell/e-shell-meego.c
+++ b/shell/e-shell-meego.c
@@ -61,7 +61,7 @@ e_shell_detect_meego (gboolean *is_meego,
*is_meego = *small_screen = FALSE;
- moblin_string = (guchar *)g_getenv ("EVO_MEEGO");
+ moblin_string = (guchar *) g_getenv ("EVO_MEEGO");
if (!moblin_string) {
GdkScreen *screen;
GdkDisplay *display;
@@ -82,8 +82,9 @@ e_shell_detect_meego (gboolean *is_meego,
if (!module)
return;
g_module_symbol (module, "XFree", (gpointer) &fns.XFree);
- g_module_symbol (module, "XGetWindowProperty",
- (gpointer) &fns.XGetWindowProperty);
+ g_module_symbol (
+ module, "XGetWindowProperty",
+ (gpointer) &fns.XGetWindowProperty);
if (!fns.XFree || !fns.XGetWindowProperty) {
fprintf (stderr, "defective X server\n");
goto exit;
@@ -127,12 +128,13 @@ e_shell_detect_meego (gboolean *is_meego,
/* use meego theming tweaks */
*is_meego = TRUE;
- props = g_strsplit ((gchar *)moblin_string, ":", -1);
+ props = g_strsplit ((gchar *) moblin_string, ":", -1);
for (i = 0; props && props[i]; i++) {
gchar **pair = g_strsplit (props[i], "=", 2);
- g_warning ("pair '%s'='%s'", pair ? pair[0] : "<null>",
- pair && pair[0] ? pair[1] : "<null>");
+ g_warning (
+ "pair '%s'='%s'", pair ? pair[0] : "<null>",
+ pair && pair[0] ? pair[1] : "<null>");
/* Hunt for session-type=small-screen */
if (pair && pair[0] && !g_ascii_strcasecmp (pair[0], "session-type"))