From 82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Wed, 31 Oct 2007 12:35:06 +0000 Subject: text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch] 2007-10-26 Kjartan Maraas * 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 --- widgets/e-timezone-dialog/e-timezone-dialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widgets/e-timezone-dialog') 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; -- cgit v1.2.3