diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /calendar/gui/alarm-notify/config-data.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-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 'calendar/gui/alarm-notify/config-data.c')
-rw-r--r-- | calendar/gui/alarm-notify/config-data.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c index c35d2b4a6c..e7120d4b38 100644 --- a/calendar/gui/alarm-notify/config-data.c +++ b/calendar/gui/alarm-notify/config-data.c @@ -101,10 +101,10 @@ config_data_get_calendars (const char *key) ESourceList *cal_sources; gboolean state; GSList *gconf_list; - + if (!inited) conf_client = gconf_client_get_default (); - + gconf_list = gconf_client_get_list (conf_client, key, GCONF_VALUE_STRING, @@ -117,12 +117,12 @@ config_data_get_calendars (const char *key) return cal_sources; } - state = gconf_client_get_bool (conf_client, + state = gconf_client_get_bool (conf_client, "/apps/evolution/calendar/notify/notify_with_tray", NULL); if (!state) /* Should be old client*/ { GSList *source; - gconf_client_set_bool (conf_client, + gconf_client_set_bool (conf_client, "/apps/evolution/calendar/notify/notify_with_tray", TRUE, NULL); @@ -149,11 +149,11 @@ config_data_get_calendars (const char *key) } return cal_sources; - + } void -config_data_replace_string_list (const char *key, +config_data_replace_string_list (const char *key, const char *old, const char *new) { @@ -166,9 +166,9 @@ config_data_replace_string_list (const char *key, key, GCONF_VALUE_STRING, NULL); - + for (tmp = source; tmp; tmp = tmp->next) { - + if (strcmp (tmp->data, old) == 0) { gboolean state; @@ -205,7 +205,7 @@ config_data_get_timezone (void) ensure_inited (); - location = gconf_client_get_string (conf_client, + location = gconf_client_get_string (conf_client, "/apps/evolution/calendar/display/timezone", NULL); if (location && location[0]) { @@ -246,7 +246,7 @@ config_data_get_notify_with_tray (void) /** * config_data_set_last_notification_time: * @t: A time value. - * + * * Saves the last notification time so that it can be fetched the next time the * alarm daemon is run. This way the daemon can show alarms that should have * triggered while it was not running. @@ -271,9 +271,9 @@ config_data_set_last_notification_time (time_t t) /** * config_data_get_last_notification_time: - * + * * Queries the last saved value for alarm notification times. - * + * * Return value: The last saved value, or -1 if no value had been saved before. **/ time_t @@ -295,7 +295,7 @@ config_data_get_last_notification_time (void) /** * config_data_save_blessed_program: * @program: a program name - * + * * Saves a program name as "blessed" **/ void @@ -317,9 +317,9 @@ config_data_save_blessed_program (const char *program) /** * config_data_is_blessed_program: * @program: a program name - * + * * Checks to see if a program is blessed - * + * * Return value: TRUE if program is blessed, FALSE otherwise **/ gboolean |