aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-timezone-dialog
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-31 20:35:06 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-31 20:35:06 +0800
commit82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd (patch)
treed6932e982346787d8d3b747b3849f57ac0805e52 /widgets/e-timezone-dialog
parent3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b (diff)
downloadgsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.gz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.bz2
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.lz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.xz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.zst
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.zip
text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]
2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_local_offset), (get_local_timezone), (on_map_visibility_changed), (on_map_button_pressed), (get_zone_from_point), (e_timezone_dialog_set_timezone), (on_combo_changed): * menus/gal-view-factory.c: (gal_view_factory_get_title): * text/Makefile.am: * text/e-text.c: (e_text_event), (popup_targets_received), (next_word), (find_offset_into_line), (_get_position), (e_text_class_init): * text/e.entry.[ch] * text/e-completion.[ch] * text/e-text-model-uri.[ch] * text/e-completion-view.[ch] * text/e-completion-callbacks.[ch] * text/e-completion-match.[ch] * text/e-table-text-model.[ch]: Remove all of these. They are now unused. Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function declarations svn path=/trunk/; revision=34468
Diffstat (limited to 'widgets/e-timezone-dialog')
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/e-timezone-dialog/e-timezone-dialog.c b/widgets/e-timezone-dialog/e-timezone-dialog.c
index 4c54dd84a6..48bf09a1b0 100644
--- a/widgets/e-timezone-dialog/e-timezone-dialog.c
+++ b/widgets/e-timezone-dialog/e-timezone-dialog.c
@@ -306,7 +306,7 @@ e_timezone_dialog_construct (ETimezoneDialog *etd)
#if 0
static int
-get_local_offset ()
+get_local_offset (void)
{
time_t now = time(NULL), t_gmt, t_local;
struct tm gmt, local;
@@ -322,8 +322,8 @@ get_local_offset ()
}
#endif
-static const icaltimezone*
-get_local_timezone()
+static icaltimezone*
+get_local_timezone(void)
{
icaltimezone *zone;
@@ -672,7 +672,7 @@ e_timezone_dialog_set_timezone (ETimezoneDialog *etd,
icaltimezone *zone)
{
ETimezoneDialogPrivate *priv;
- char *display=NULL;
+ char *display = NULL;
g_return_if_fail (E_IS_TIMEZONE_DIALOG (etd));
@@ -683,7 +683,7 @@ e_timezone_dialog_set_timezone (ETimezoneDialog *etd,
}
if (zone)
- display=zone_display_name_with_offset(zone);
+ display = zone_display_name_with_offset(zone);
priv = etd->priv;