diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 22:02:58 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:17 +0800 |
commit | 5146ff4c535f443fe25290eb96631e91ad44c8ef (patch) | |
tree | b8cc31419c1f297092e13eedd9a5877f4c106eda /e-util | |
parent | ea8a59a443f861af88ddb21d5dcbde1c95006203 (diff) | |
download | gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.gz gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.zst gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-alert.c | 8 | ||||
-rw-r--r-- | e-util/e-text-event-processor-emacs-like.c | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/e-util/e-alert.c b/e-util/e-alert.c index 1858e338f8..3554fd2709 100644 --- a/e-util/e-alert.c +++ b/e-util/e-alert.c @@ -235,12 +235,16 @@ e_alert_load (const gchar *path) for (scan = error->children;scan;scan=scan->next) { if (!strcmp((gchar *)scan->name, "primary")) { if ((tmp = (gchar *) xmlNodeGetContent (scan))) { - e->primary_text = g_strdup (dgettext (table->translation_domain, tmp)); + e->primary_text = g_strdup ( + dgettext (table-> + translation_domain, tmp)); xmlFree (tmp); } } else if (!strcmp((gchar *)scan->name, "secondary")) { if ((tmp = (gchar *) xmlNodeGetContent (scan))) { - e->secondary_text = g_strdup (dgettext (table->translation_domain, tmp)); + e->secondary_text = g_strdup ( + dgettext (table-> + translation_domain, tmp)); xmlFree (tmp); } } else if (!strcmp((gchar *)scan->name, "button")) { diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index d69c53aa8d..554ea5fb1d 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -463,7 +463,8 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, } break; - } else if ((key.state & GDK_MOD1_MASK) && !(key.state & GDK_CONTROL_MASK)) { + } else if ((key.state & GDK_MOD1_MASK) && + !(key.state & GDK_CONTROL_MASK)) { if ((key.keyval >= 'A') && (key.keyval <= 'Z')) key.keyval -= 'A' - 'a'; |