aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-pilot-settings.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/misc/e-pilot-settings.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/misc/e-pilot-settings.c')
-rw-r--r--widgets/misc/e-pilot-settings.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/misc/e-pilot-settings.c b/widgets/misc/e-pilot-settings.c
index 6dfd4873f6..1c97306032 100644
--- a/widgets/misc/e-pilot-settings.c
+++ b/widgets/misc/e-pilot-settings.c
@@ -30,7 +30,7 @@
#include <libedataserverui/e-source-combo-box.h>
#include "e-pilot-settings.h"
-struct _EPilotSettingsPrivate
+struct _EPilotSettingsPrivate
{
GtkWidget *source;
GtkWidget *secret;
@@ -81,7 +81,7 @@ static void
init (EPilotSettings *ps)
{
EPilotSettingsPrivate *priv;
-
+
priv = g_new0 (EPilotSettingsPrivate, 1);
ps->priv = priv;
@@ -93,7 +93,7 @@ build_ui (EPilotSettings *ps, ESourceList *source_list)
{
EPilotSettingsPrivate *priv;
GtkWidget *lbl;
-
+
priv = ps->priv;
gtk_table_resize (GTK_TABLE (ps), 2, 2);
@@ -134,12 +134,12 @@ e_pilot_settings_new (ESourceList *source_list)
{
EPilotSettings *ps;
EPilotSettingsPrivate *priv;
-
+
ps = g_object_new (E_TYPE_PILOT_SETTINGS, NULL);
priv = ps->priv;
build_ui (ps, source_list);
-
+
return GTK_WIDGET (ps);
}
@@ -147,7 +147,7 @@ ESource *
e_pilot_settings_get_source (EPilotSettings *ps)
{
EPilotSettingsPrivate *priv;
-
+
g_return_val_if_fail (ps != NULL, NULL);
g_return_val_if_fail (E_IS_PILOT_SETTINGS (ps), NULL);
@@ -161,7 +161,7 @@ void
e_pilot_settings_set_source (EPilotSettings *ps, ESource *source)
{
EPilotSettingsPrivate *priv;
-
+
g_return_if_fail (ps != NULL);
g_return_if_fail (E_IS_PILOT_SETTINGS (ps));
@@ -175,12 +175,12 @@ gboolean
e_pilot_settings_get_secret (EPilotSettings *ps)
{
EPilotSettingsPrivate *priv;
-
+
g_return_val_if_fail (ps != NULL, FALSE);
g_return_val_if_fail (E_IS_PILOT_SETTINGS (ps), FALSE);
priv = ps->priv;
-
+
return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->secret));
}
@@ -188,7 +188,7 @@ void
e_pilot_settings_set_secret (EPilotSettings *ps, gboolean secret)
{
EPilotSettingsPrivate *priv;
-
+
g_return_if_fail (ps != NULL);
g_return_if_fail (E_IS_PILOT_SETTINGS (ps));