diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 22:02:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-22 05:56:06 +0800 |
commit | cb97c2dc8fd97b381af048f206333d5e557892ae (patch) | |
tree | c2901380e607a3b439abb1bed165344ba8f4fc83 /e-util | |
parent | 64fa8ad9c0851e2d5c1e90ac2e75af8d455d9fea (diff) | |
download | gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.gz gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.zst gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.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'; |