diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
commit | 0274669179600ac77475eed9870d2eab52c2cf14 (patch) | |
tree | 80f228649b670efac7f76ba5c0da5ed22a3a05c9 /calendar/gui/e-day-view.c | |
parent | adb63f0f2156554a21dbfd8daba447001985e967 (diff) | |
download | gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.zip |
Fix excessive whitespace.
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index bcd6d42c23..5642bc7b02 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -227,7 +227,6 @@ static void e_day_view_finish_long_event_resize (EDayView *day_view); static void e_day_view_finish_resize (EDayView *day_view); static void e_day_view_abort_resize (EDayView *day_view); - static gboolean e_day_view_on_long_event_button_press (EDayView *day_view, gint event_num, GdkEventButton *event, @@ -266,7 +265,6 @@ static void e_day_view_show_popup_menu (EDayView *day_view, gint day, gint event_num); - static void e_day_view_recalc_day_starts (EDayView *day_view, time_t start_time); static void e_day_view_recalc_num_rows (EDayView *day_view); @@ -505,7 +503,6 @@ time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpo e_day_view_ensure_rows_visible (day_view, day_view->selection_start_row, day_view->selection_start_row); } - static void process_component (EDayView *day_view, ECalModelComponent *comp_data) { @@ -681,7 +678,6 @@ timezone_changed_cb (ECalendarView *cal_view, icaltimezone *old_zone, g_return_if_fail (E_IS_DAY_VIEW (day_view)); - if (!cal_view->in_focus) return; @@ -778,7 +774,6 @@ e_day_view_init (EDayView *day_view) day_view->last_edited_comp_string = NULL; - day_view->selection_start_row = -1; day_view->selection_start_day = -1; day_view->selection_end_row = -1; @@ -970,7 +965,6 @@ e_day_view_init (EDayView *day_view) NULL); gnome_canvas_item_hide (day_view->drag_item); - /* * Times Canvas */ @@ -992,7 +986,6 @@ e_day_view_init (EDayView *day_view) "EDayViewTimeItem::day_view", day_view, NULL); - /* * Scrollbar. */ @@ -1028,13 +1021,11 @@ e_day_view_init (EDayView *day_view) target_table, n_targets, GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_ASK); - /* connect to ECalendarView's signals */ g_signal_connect (G_OBJECT (day_view), "timezone_changed", G_CALLBACK (timezone_changed_cb), NULL); } - static void init_model (EDayView *day_view, ECalModel *model) { @@ -1061,7 +1052,6 @@ e_day_view_on_canvas_realized (GtkWidget *widget, NULL, FALSE); } - /** * e_day_view_new: * @Returns: a new #EDayView. @@ -1167,7 +1157,6 @@ e_day_view_realize (GtkWidget *widget) day_view->meeting_icon = e_icon_factory_get_icon ("stock_people", GTK_ICON_SIZE_MENU); day_view->attach_icon = e_icon_factory_get_icon ("mail-attachment", GTK_ICON_SIZE_MENU); - /* Set the canvas item colors. */ gnome_canvas_item_set (day_view->drag_long_event_rect_item, "fill_color_gdk", &day_view->colors[E_DAY_VIEW_COLOR_EVENT_BACKGROUND], @@ -1437,7 +1426,6 @@ e_day_view_style_set (GtkWidget *widget, } } - /* Calculate the widths of all the time strings necessary. */ day_view->max_small_hour_width = 0; for (hour = 0; hour < 24; hour++) { @@ -1624,7 +1612,6 @@ e_day_view_recalc_cell_sizes (EDayView *day_view) g_object_unref (layout); } - static gint e_day_view_focus_in (GtkWidget *widget, GdkEventFocus *event) { @@ -1644,7 +1631,6 @@ e_day_view_focus_in (GtkWidget *widget, GdkEventFocus *event) return FALSE; } - static gint e_day_view_focus_out (GtkWidget *widget, GdkEventFocus *event) { @@ -1701,7 +1687,6 @@ e_day_view_foreach_event (EDayView *day_view, } } - /* This calls a given function for each event instance that matches the given uid. If the callback returns FALSE the iteration is stopped. Note that it is safe for the callback to remove the event (since we @@ -1745,7 +1730,6 @@ e_day_view_foreach_event_with_uid (EDayView *day_view, } } - static gboolean e_day_view_remove_event_cb (EDayView *day_view, gint day, @@ -1916,7 +1900,6 @@ e_day_view_update_long_event_label (EDayView *day_view, set_text_as_bold (event); } - /* Finds the day and index of the event with the given canvas item. If is is a long event, -1 is returned as the day. Returns TRUE if the event was found. */ @@ -1956,7 +1939,6 @@ e_day_view_find_event_from_item (EDayView *day_view, return FALSE; } - /* Finds the day and index of the event with the given uid. If is is a long event, E_DAY_VIEW_LONG_EVENT is returned as the day. Returns TRUE if an event with the uid was found. @@ -2131,7 +2113,6 @@ e_day_view_set_selected_time_range_visible (EDayView *day_view, } } - /* Finds the start of the working week which includes the given time. */ static time_t e_day_view_find_work_week_start (EDayView *day_view, @@ -2176,7 +2157,6 @@ e_day_view_find_work_week_start (EDayView *day_view, return icaltime_as_timet_with_zone (tt, e_calendar_view_get_timezone (E_CALENDAR_VIEW (day_view))); } - /* This sets the selected time range. If the start_time & end_time are not equal and are both visible in the view, then the selection is set to those times, otherwise it is set to 1 hour from the start of the working day. */ @@ -2354,7 +2334,6 @@ e_day_view_get_work_week_view (EDayView *day_view) return day_view->work_week_view; } - void e_day_view_set_work_week_view (EDayView *day_view, gboolean work_week_view) @@ -2370,7 +2349,6 @@ e_day_view_set_work_week_view (EDayView *day_view, e_day_view_recalc_work_week (day_view); } - gint e_day_view_get_days_shown (EDayView *day_view) { @@ -2379,7 +2357,6 @@ e_day_view_get_days_shown (EDayView *day_view) return day_view->days_shown; } - void e_day_view_set_days_shown (EDayView *day_view, gint days_shown) @@ -2403,7 +2380,6 @@ e_day_view_set_days_shown (EDayView *day_view, e_day_view_update_query (day_view); } - gint e_day_view_get_mins_per_row (EDayView *day_view) { @@ -2412,7 +2388,6 @@ e_day_view_get_mins_per_row (EDayView *day_view) return day_view->mins_per_row; } - void e_day_view_set_mins_per_row (EDayView *day_view, gint mins_per_row) @@ -2454,7 +2429,6 @@ e_day_view_set_mins_per_row (EDayView *day_view, e_day_view_update_scroll_regions (day_view); } - /* This specifies the working days in the week. The value is a bitwise combination of day flags. Defaults to Mon-Fri. */ EDayViewDays @@ -2465,7 +2439,6 @@ e_day_view_get_working_days (EDayView *day_view) return day_view->working_days; } - void e_day_view_set_working_days (EDayView *day_view, EDayViewDays days) @@ -2485,7 +2458,6 @@ e_day_view_set_working_days (EDayView *day_view, gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_recalc_work_week_days_shown (EDayView *day_view) { @@ -2521,7 +2493,6 @@ e_day_view_recalc_work_week_days_shown (EDayView *day_view) e_day_view_set_days_shown (day_view, days_shown); } - /* The start and end time of the working day. This only affects the background colors. */ void @@ -2539,7 +2510,6 @@ e_day_view_get_working_day (EDayView *day_view, *end_minute = day_view->work_day_end_minute; } - void e_day_view_set_working_day (EDayView *day_view, gint start_hour, @@ -2557,7 +2527,6 @@ e_day_view_set_working_day (EDayView *day_view, gtk_widget_queue_draw (day_view->main_canvas); } - /* Whether we display the Marcus Bains Line in the main canvas and time canvas. */ gboolean e_day_view_get_show_marcus_bains (EDayView *day_view) @@ -2575,7 +2544,6 @@ e_day_view_update_marcus_bains (EDayView *day_view) gtk_widget_queue_draw (day_view->time_canvas); } - /* Update the variables controlling the Marcus Bains Line (display toggle, and colors). */ void e_day_view_set_marcus_bains (EDayView *day_view, @@ -2609,7 +2577,6 @@ e_day_view_set_marcus_bains (EDayView *day_view, } } - /* Whether we display event end times in the main canvas. */ gboolean e_day_view_get_show_event_end_times (EDayView *day_view) @@ -2619,7 +2586,6 @@ e_day_view_get_show_event_end_times (EDayView *day_view) return day_view->show_event_end_times; } - void e_day_view_set_show_event_end_times (EDayView *day_view, gboolean show) @@ -2647,7 +2613,6 @@ e_day_view_set_show_times_cb (EDayView *day_view, return TRUE; } - /* The first day of the week, 0 (Monday) to 6 (Sunday). */ gint e_day_view_get_week_start_day (EDayView *day_view) @@ -2657,7 +2622,6 @@ e_day_view_get_week_start_day (EDayView *day_view) return day_view->week_start_day; } - void e_day_view_set_week_start_day (EDayView *day_view, gint week_start_day) @@ -2703,7 +2667,6 @@ e_day_view_recalc_work_week (EDayView *day_view) } } - static gboolean e_day_view_update_scroll_regions (EDayView *day_view) { @@ -2744,7 +2707,6 @@ e_day_view_update_scroll_regions (EDayView *day_view) return need_reshape; } - /* This recalculates the number of rows to display, based on the time range shown and the minutes per row. */ static void @@ -2759,7 +2721,6 @@ e_day_view_recalc_num_rows (EDayView *day_view) day_view->rows = total_minutes / day_view->mins_per_row; } - /* Converts an hour and minute to a row in the canvas. Note that if we aren't showing all 24 hours of the day, the returned row may be negative or greater than day_view->rows. */ @@ -2780,7 +2741,6 @@ e_day_view_convert_time_to_row (EDayView *day_view, return offset / day_view->mins_per_row; } - /* Converts an hour and minute to a y coordinate in the canvas. */ gint e_day_view_convert_time_to_position (EDayView *day_view, @@ -2877,7 +2837,6 @@ e_day_view_on_top_canvas_button_press (GtkWidget *widget, return TRUE; } - static gboolean e_day_view_convert_event_coords (EDayView *day_view, GdkEvent *event, @@ -2931,7 +2890,6 @@ e_day_view_convert_event_coords (EDayView *day_view, return (event_window == window) ? TRUE : FALSE; } - static gboolean e_day_view_on_main_canvas_button_press (GtkWidget *widget, GdkEventButton *event, @@ -3007,7 +2965,6 @@ e_day_view_on_main_canvas_button_press (GtkWidget *widget, if (!GTK_WIDGET_HAS_FOCUS (day_view)) gtk_widget_grab_focus (GTK_WIDGET (day_view)); - if ((day < day_view->selection_start_day || day > day_view->selection_end_day) || (day == day_view->selection_start_day && row < day_view->selection_start_row) || (day == day_view->selection_end_day && row > day_view->selection_end_row)) { @@ -3117,7 +3074,6 @@ e_day_view_on_long_event_button_press (EDayView *day_view, return FALSE; } - static gboolean e_day_view_on_event_button_press (EDayView *day_view, gint day, @@ -3256,7 +3212,6 @@ e_day_view_on_event_click (EDayView *day_view, return; } - /* Grab the keyboard focus, so the event being edited is saved and we can use the Escape key to abort the resize. */ if (!GTK_WIDGET_HAS_FOCUS (day_view)) @@ -3330,7 +3285,6 @@ e_day_view_reshape_resize_long_event_rect_item (EDayView *day_view) y2 = item_y + item_h - 1; } - static void e_day_view_reshape_resize_rect_item (EDayView *day_view) { @@ -3506,7 +3460,6 @@ e_day_view_on_top_canvas_button_release (GtkWidget *widget, return FALSE; } - static gboolean e_day_view_on_main_canvas_button_release (GtkWidget *widget, GdkEventButton *event, @@ -3536,7 +3489,6 @@ e_day_view_on_main_canvas_button_release (GtkWidget *widget, return FALSE; } - void e_day_view_update_calendar_selection_time (EDayView *day_view) { @@ -3653,7 +3605,6 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget, return FALSE; } - static gboolean e_day_view_on_main_canvas_motion (GtkWidget *widget, GdkEventMotion *mevent, @@ -3787,7 +3738,6 @@ e_day_view_start_selection (EDayView *day_view, gtk_widget_queue_draw (day_view->main_canvas); } - /* Updates the selection during a drag. If day is -1 the selection day is unchanged. */ void @@ -3833,7 +3783,6 @@ e_day_view_update_selection (EDayView *day_view, } } - static void e_day_view_normalize_selection (EDayView *day_view) { @@ -3856,7 +3805,6 @@ e_day_view_normalize_selection (EDayView *day_view) } } - void e_day_view_finish_selection (EDayView *day_view) { @@ -3904,7 +3852,6 @@ e_day_view_update_long_event_resize (EDayView *day_view, } } - static void e_day_view_update_resize (EDayView *day_view, gint row) @@ -3955,7 +3902,6 @@ e_day_view_update_resize (EDayView *day_view, } } - /* This converts the resize start or end row back to a time and updates the event. */ static void @@ -4064,7 +4010,6 @@ e_day_view_finish_long_event_resize (EDayView *day_view) g_object_unref (comp); } - /* This converts the resize start or end row back to a time and updates the event. */ static void @@ -4126,7 +4071,6 @@ e_day_view_finish_resize (EDayView *day_view) day_view->last_edited_comp_string = e_cal_component_get_as_string (comp); - /* Hide the horizontal bars. */ day_view->resize_bars_event_day = -1; day_view->resize_bars_event_num = -1; @@ -4172,7 +4116,6 @@ e_day_view_finish_resize (EDayView *day_view) g_object_unref (comp); } - static void e_day_view_abort_resize (EDayView *day_view) { @@ -4219,14 +4162,12 @@ e_day_view_free_events (EDayView *day_view) day_view->editing_event_num = -1; day_view->popup_event_num = -1; - e_day_view_free_event_array (day_view, day_view->long_events); for (day = 0; day < E_DAY_VIEW_MAX_DAYS; day++) e_day_view_free_event_array (day_view, day_view->events[day]); } - static void e_day_view_free_event_array (EDayView *day_view, GArray *array) @@ -4245,7 +4186,6 @@ e_day_view_free_event_array (EDayView *day_view, g_array_set_size (array, 0); } - /* This adds one event to the view, adding it to the appropriate array. */ static gboolean e_day_view_add_event (ECalComponent *comp, @@ -4415,7 +4355,6 @@ e_day_view_check_layout (EDayView *day_view) } } - static void e_day_view_reshape_long_events (EDayView *day_view) { @@ -4438,7 +4377,6 @@ e_day_view_reshape_long_events (EDayView *day_view) } } - static void e_day_view_reshape_long_event (EDayView *day_view, gint event_num) @@ -4597,7 +4535,6 @@ e_day_view_reshape_long_event (EDayView *day_view, g_object_unref (comp); } - /* This creates or updates the sizes of the canvas items for one day of the main canvas. */ static void @@ -4628,7 +4565,6 @@ e_day_view_reshape_day_events (EDayView *day_view, } } - static void e_day_view_reshape_day_event (EDayView *day_view, gint day, @@ -4732,7 +4668,6 @@ e_day_view_reshape_day_event (EDayView *day_view, } } - /* This creates or resizes the horizontal bars used to resize events in the main canvas. */ static void @@ -4799,7 +4734,6 @@ e_day_view_ensure_events_sorted (EDayView *day_view) } } - gint e_day_view_event_sort_func (gconstpointer arg1, gconstpointer arg2) @@ -4973,7 +4907,6 @@ e_day_view_do_key_press (GtkWidget *widget, GdkEventKey *event) return TRUE; } - /* Handle the cursor keys for moving & extending the selection. */ stop_emission = TRUE; if (event->state & GDK_SHIFT_MASK) { @@ -5078,7 +5011,6 @@ e_day_view_goto_start_of_work_day (EDayView *day_view) gtk_widget_queue_draw (day_view->main_canvas); } - /* Select the time that ends a work day*/ static void e_day_view_goto_end_of_work_day (EDayView *day_view) @@ -5179,7 +5111,6 @@ e_day_view_change_duration_to_end_of_work_day (EDayView *day_view) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_up_shifted (EDayView *day_view, GdkEventKey *event) { @@ -5491,7 +5422,6 @@ e_day_view_cursor_key_down_shifted (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_left_shifted (EDayView *day_view, GdkEventKey *event) { @@ -5516,7 +5446,6 @@ e_day_view_cursor_key_left_shifted (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_right_shifted (EDayView *day_view, GdkEventKey *event) { @@ -5541,7 +5470,6 @@ e_day_view_cursor_key_right_shifted (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_up (EDayView *day_view, GdkEventKey *event) { @@ -5574,7 +5502,6 @@ e_day_view_cursor_key_up (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_down (EDayView *day_view, GdkEventKey *event) { @@ -5607,7 +5534,6 @@ e_day_view_cursor_key_down (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->main_canvas); } - static void e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event) { @@ -5626,7 +5552,6 @@ e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event) g_signal_emit_by_name (day_view, "selected_time_changed"); } - static void e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event) { @@ -5645,7 +5570,6 @@ e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event) g_signal_emit_by_name (day_view, "selected_time_changed"); } - /* Scrolls the main canvas up or down. The pages_to_scroll argument is multiplied with the adjustment's page size and added to the adjustment's value, while ensuring we stay within the bounds. A positive value will @@ -5769,7 +5693,6 @@ e_day_view_start_editing_event (EDayView *day_view, } } - /* This stops the current edit. If accept is TRUE the event summary is updated, else the edit is cancelled. */ static void @@ -5787,7 +5710,6 @@ e_day_view_stop_editing_event (EDayView *day_view) gtk_window_set_focus (GTK_WINDOW (toplevel), NULL); } - /* Cancels the current edition by resetting the appointment's text to its original value */ static void cancel_editing (EDayView *day_view) @@ -6205,7 +6127,6 @@ e_day_view_change_event_end_time_up (EDayView *day_view) e_day_view_ensure_rows_visible (day_view, resize_start_row, resize_end_row); } - static void e_day_view_change_event_end_time_down (EDayView *day_view) { @@ -6236,7 +6157,6 @@ e_day_view_change_event_end_time_down (EDayView *day_view) e_day_view_ensure_rows_visible (day_view, resize_start_row, resize_end_row); } - static void e_day_view_on_editing_started (EDayView *day_view, GnomeCanvasItem *item) @@ -6492,7 +6412,6 @@ e_day_view_convert_grid_position_to_time (EDayView *day_view, return val; } - static gboolean e_day_view_convert_time_to_grid_position (EDayView *day_view, time_t time, @@ -6531,7 +6450,6 @@ e_day_view_convert_time_to_grid_position (EDayView *day_view, return TRUE; } - /* This starts or stops auto-scrolling when dragging a selection or resizing an event. */ void @@ -6559,7 +6477,6 @@ e_day_view_check_auto_scroll (EDayView *day_view, e_day_view_stop_auto_scroll (day_view); } - static void e_day_view_start_auto_scroll (EDayView *day_view, gboolean scroll_up) @@ -6571,7 +6488,6 @@ e_day_view_start_auto_scroll (EDayView *day_view, day_view->auto_scroll_up = scroll_up; } - void e_day_view_stop_auto_scroll (EDayView *day_view) { @@ -6581,7 +6497,6 @@ e_day_view_stop_auto_scroll (EDayView *day_view) } } - static gboolean e_day_view_auto_scroll_handler (gpointer data) { @@ -6717,7 +6632,6 @@ e_day_view_get_event_position (EDayView *day_view, end_row = day_view->resize_end_row; } - *item_x = day_view->day_offsets[day] + day_view->day_widths[day] * start_col / cols_in_row; *item_w = day_view->day_widths[day] * num_columns / cols_in_row @@ -6734,7 +6648,6 @@ e_day_view_get_event_position (EDayView *day_view, return TRUE; } - gboolean e_day_view_get_long_event_position (EDayView *day_view, gint event_num, @@ -6779,7 +6692,6 @@ e_day_view_get_long_event_position (EDayView *day_view, return TRUE; } - /* Converts a position within the entire top canvas to a day & event and a place within the event if appropriate. If event_num_return is NULL, it simply returns the grid position without trying to find the event. */ @@ -6855,7 +6767,6 @@ e_day_view_convert_position_in_top_canvas (EDayView *day_view, return E_CALENDAR_VIEW_POS_NONE; } - /* Converts a position within the entire main canvas to a day, row, event and a place within the event if appropriate. If event_num_return is NULL, it simply returns the grid position without trying to find the event. */ @@ -6956,7 +6867,6 @@ e_day_view_convert_position_in_main_canvas (EDayView *day_view, return E_CALENDAR_VIEW_POS_NONE; } - static gboolean e_day_view_on_top_canvas_drag_motion (GtkWidget *widget, GdkDragContext *context, @@ -6977,7 +6887,6 @@ e_day_view_on_top_canvas_drag_motion (GtkWidget *widget, return TRUE; } - static void e_day_view_reshape_top_canvas_drag_item (EDayView *day_view) { @@ -7001,7 +6910,6 @@ e_day_view_reshape_top_canvas_drag_item (EDayView *day_view) e_day_view_update_top_canvas_drag (day_view, day); } - static void e_day_view_update_top_canvas_drag (EDayView *day_view, gint day) @@ -7046,14 +6954,12 @@ e_day_view_update_top_canvas_drag (EDayView *day_view, day_view->drag_last_day = day; - item_x = day_view->day_offsets[day] + E_DAY_VIEW_BAR_WIDTH; item_w = day_view->day_offsets[day + num_days] - item_x - E_DAY_VIEW_GAP_WIDTH; item_y = row * day_view->top_row_height; item_h = day_view->top_row_height - E_DAY_VIEW_TOP_CANVAS_Y_GAP; - /* Set the positions of the event & associated items. */ gnome_canvas_item_set (day_view->drag_long_event_rect_item, "x1", item_x, @@ -7099,7 +7005,6 @@ e_day_view_update_top_canvas_drag (EDayView *day_view, } } - static gboolean e_day_view_on_main_canvas_drag_motion (GtkWidget *widget, GdkDragContext *context, @@ -7124,7 +7029,6 @@ e_day_view_on_main_canvas_drag_motion (GtkWidget *widget, return TRUE; } - static void e_day_view_reshape_main_canvas_drag_item (EDayView *day_view) { @@ -7149,7 +7053,6 @@ e_day_view_reshape_main_canvas_drag_item (EDayView *day_view) e_day_view_update_main_canvas_drag (day_view, row, day); } - static void e_day_view_update_main_canvas_drag (EDayView *day_view, gint row, @@ -7261,7 +7164,6 @@ e_day_view_update_main_canvas_drag (EDayView *day_view, } } - static void e_day_view_on_top_canvas_drag_leave (GtkWidget *widget, GdkDragContext *context, @@ -7321,7 +7223,6 @@ e_day_view_on_drag_begin (GtkWidget *widget, gnome_canvas_item_hide (event->canvas_item); } - static void e_day_view_on_drag_end (GtkWidget *widget, GdkDragContext *context, @@ -7355,7 +7256,6 @@ e_day_view_on_drag_end (GtkWidget *widget, day_view->drag_event_num = -1; } - static void e_day_view_on_drag_data_get (GtkWidget *widget, GdkDragContext *context, @@ -7411,7 +7311,6 @@ e_day_view_on_drag_data_get (GtkWidget *widget, } } - static void e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget, GdkDragContext *context, @@ -7637,7 +7536,6 @@ error: gtk_drag_finish (context, FALSE, FALSE, time); } - static void e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget, GdkDragContext *context, @@ -7843,7 +7741,6 @@ error: gtk_drag_finish (context, FALSE, FALSE, time); } - /* Converts an hour from 0-23 to the preferred time format, and returns the suffix to add and the width of it in the normal font. */ void @@ -7875,7 +7772,6 @@ e_day_view_convert_time_to_display (EDayView *day_view, } } - gint e_day_view_get_time_string_width (EDayView *day_view) { @@ -7899,7 +7795,6 @@ e_day_view_queue_layout (EDayView *day_view) } } - /* Removes any queued layout. */ static void e_day_view_cancel_layout (EDayView *day_view) @@ -7910,7 +7805,6 @@ e_day_view_cancel_layout (EDayView *day_view) } } - static gboolean e_day_view_layout_timeout_cb (gpointer data) { @@ -7925,7 +7819,6 @@ e_day_view_layout_timeout_cb (gpointer data) return FALSE; } - /* Returns the number of selected events (0 or 1 at present). */ gint e_day_view_get_num_events_selected (EDayView *day_view) |