diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /mail/importers/elm-importer.c | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/importers/elm-importer.c')
-rw-r--r-- | mail/importers/elm-importer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c index 288d9fb736..bebcf97dd9 100644 --- a/mail/importers/elm-importer.c +++ b/mail/importers/elm-importer.c @@ -225,9 +225,11 @@ elm_import_done (struct _elm_import_msg *m) if (m->base.error == NULL) { GConfClient *gconf; + const gchar *key; gconf = gconf_client_get_default (); - gconf_client_set_bool(gconf, "/apps/evolution/importer/elm/mail", TRUE, NULL); + key = "/apps/evolution/importer/elm/mail"; + gconf_client_set_bool (gconf, key, TRUE, NULL); g_object_unref (gconf); } @@ -350,7 +352,9 @@ elm_getwidget (EImport *ei, w = gtk_check_button_new_with_label(_("Mail")); gtk_toggle_button_set_active ((GtkToggleButton *) w, !done_mail); - g_signal_connect (w, "toggled", G_CALLBACK(checkbox_toggle_cb), target); + g_signal_connect ( + w, "toggled", + G_CALLBACK (checkbox_toggle_cb), target); gtk_box_pack_start ((GtkBox *) box, w, FALSE, FALSE, 0); gtk_widget_show_all (box); |