aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
commitc30d29425eccafea02e95ea6e81679508c878784 (patch)
tree43881a8ae0b03d55cc6facac3b4e6375524c7c4c /plugins
parent6c7520b73d1360504672804ebeba6c4de18de318 (diff)
downloadgsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.gz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.zst
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/bogo-junk-plugin/bf-junk-filter.c6
-rw-r--r--plugins/caldav/caldav-source.c22
-rw-r--r--plugins/calendar-file/calendar-file.c7
-rw-r--r--plugins/sa-junk-plugin/em-junk-filter.c6
4 files changed, 26 insertions, 15 deletions
diff --git a/plugins/bogo-junk-plugin/bf-junk-filter.c b/plugins/bogo-junk-plugin/bf-junk-filter.c
index 04a01cbdd5..fa917e7e79 100644
--- a/plugins/bogo-junk-plugin/bf-junk-filter.c
+++ b/plugins/bogo-junk-plugin/bf-junk-filter.c
@@ -395,9 +395,9 @@ org_gnome_bogo_convert_unicode (struct _EPlugin *epl, struct _EConfigHookItemFac
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), em_junk_bf_unicode);
g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (convert_unicode_cb), (gpointer) "/apps/evolution/mail/junk/bogofilter/unicode");
- gtk_table_attach (GTK_TABLE (data->parent), check,
- 0, 1, n_rows, n_rows+1,
- 0, 0, 0, 0);
+ gtk_table_attach (
+ GTK_TABLE (data->parent), check,
+ 0, 1, n_rows, n_rows+1, 0, 0, 0, 0);
gtk_widget_show (check);
return (GtkWidget *)check;
}
diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c
index 14b4e3cfdb..a3129af3a4 100644
--- a/plugins/caldav/caldav-source.c
+++ b/plugins/caldav/caldav-source.c
@@ -215,13 +215,19 @@ oge_caldav (EPlugin *epl,
location = e_plugin_util_add_entry (parent, _("_URL:"), NULL, NULL);
gtk_entry_set_text (GTK_ENTRY (location), uri);
- g_signal_connect (G_OBJECT (location), "changed", G_CALLBACK (location_changed_cb), source);
+
+ g_signal_connect (
+ location, "changed",
+ G_CALLBACK (location_changed_cb), source);
ssl = e_plugin_util_add_check (parent, _("Use _SSL"), source, "ssl", "1", "0");
user = e_plugin_util_add_entry (parent, _("User_name:"), NULL, NULL);
gtk_entry_set_text (GTK_ENTRY (user), username ? username : "");
- g_signal_connect (G_OBJECT (user), "changed", G_CALLBACK (user_changed_cb), source);
+
+ g_signal_connect (
+ user, "changed",
+ G_CALLBACK (user_changed_cb), source);
g_free (uri);
g_free (username);
@@ -229,14 +235,18 @@ oge_caldav (EPlugin *epl,
browse_cal = gtk_button_new_with_mnemonic (_("Brows_e server for a calendar"));
gtk_widget_show (browse_cal);
g_object_get (parent, "n-rows", &n_rows, NULL);
- gtk_table_attach (GTK_TABLE (parent), browse_cal,
- 1, 2, n_rows, n_rows + 1,
- GTK_FILL, 0, 0, 0);
+ gtk_table_attach (
+ GTK_TABLE (parent), browse_cal, 1, 2,
+ n_rows, n_rows + 1, GTK_FILL, 0, 0, 0);
g_object_set_data (G_OBJECT (browse_cal), "caldav-url", location);
g_object_set_data (G_OBJECT (browse_cal), "caldav-username", user);
g_object_set_data (G_OBJECT (browse_cal), "caldav-ssl", ssl);
- g_signal_connect (G_OBJECT (browse_cal), "clicked", G_CALLBACK (browse_cal_clicked_cb), GINT_TO_POINTER (t->source_type));
+
+ g_signal_connect (
+ browse_cal, "clicked",
+ G_CALLBACK (browse_cal_clicked_cb),
+ GINT_TO_POINTER (t->source_type));
e_plugin_util_add_refresh (parent, _("Re_fresh:"), source, "refresh");
diff --git a/plugins/calendar-file/calendar-file.c b/plugins/calendar-file/calendar-file.c
index 9ed6b15025..7bacfb44a6 100644
--- a/plugins/calendar-file/calendar-file.c
+++ b/plugins/calendar-file/calendar-file.c
@@ -117,9 +117,10 @@ e_calendar_file_customs (EPlugin *epl, EConfigHookItemFactoryData *data)
mainbox = gtk_vbox_new (FALSE, 2);
g_object_get (data->parent, "n-rows", &n_rows, NULL);
- gtk_table_attach (GTK_TABLE (data->parent), mainbox,
- 1, 2, n_rows, n_rows + 1,
- GTK_EXPAND | GTK_FILL, 0, 0, 0);
+ gtk_table_attach (
+ GTK_TABLE (data->parent), mainbox,
+ 1, 2, n_rows, n_rows + 1,
+ GTK_EXPAND | GTK_FILL, 0, 0, 0);
maincheck = gtk_check_button_new_with_mnemonic (_("_Customize options"));
gtk_box_pack_start ((GtkBox *)mainbox, maincheck, TRUE, TRUE, 2);
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c
index dbcd501d75..f52cd8c4ae 100644
--- a/plugins/sa-junk-plugin/em-junk-filter.c
+++ b/plugins/sa-junk-plugin/em-junk-filter.c
@@ -939,9 +939,9 @@ org_gnome_sa_use_remote_tests (struct _EPlugin *epl, struct _EConfigHookItemFact
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), !em_junk_sa_local_only);
g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (use_remote_tests_cb), (gpointer) "/apps/evolution/mail/junk/sa/local_only");
- gtk_table_attach (GTK_TABLE (data->parent), vbox,
- 0, 1, n_rows, n_rows+1,
- 0, 0, 0, 0);
+ gtk_table_attach (
+ GTK_TABLE (data->parent), vbox,
+ 0, 1, n_rows, n_rows+1, 0, 0, 0, 0);
gtk_widget_show_all (vbox);
return (GtkWidget *)vbox;
}