diff options
Diffstat (limited to 'calendar/gui/e-meeting-time-sel-item.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel-item.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c index 00efabe029..90a12b51df 100644 --- a/calendar/gui/e-meeting-time-sel-item.c +++ b/calendar/gui/e-meeting-time-sel-item.c @@ -126,7 +126,6 @@ e_meeting_time_selector_item_class_init (EMeetingTimeSelectorItemClass *class) G_PARAM_WRITABLE)); } - static void e_meeting_time_selector_item_init (EMeetingTimeSelectorItem *mts_item) { @@ -149,7 +148,6 @@ e_meeting_time_selector_item_init (EMeetingTimeSelectorItem *mts_item) item->y2 = 0; } - static void e_meeting_time_selector_item_dispose (GObject *object) { @@ -173,7 +171,6 @@ e_meeting_time_selector_item_dispose (GObject *object) G_OBJECT_CLASS (e_meeting_time_selector_item_parent_class)->dispose (object); } - static void e_meeting_time_selector_item_set_property (GObject *object, guint property_id, @@ -193,7 +190,6 @@ e_meeting_time_selector_item_set_property (GObject *object, G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); } - static void e_meeting_time_selector_item_realize (GnomeCanvasItem *item) { @@ -213,7 +209,6 @@ e_meeting_time_selector_item_realize (GnomeCanvasItem *item) mts_item->stipple_gc = gdk_gc_new (window); } - static void e_meeting_time_selector_item_unrealize (GnomeCanvasItem *item) { @@ -230,7 +225,6 @@ e_meeting_time_selector_item_unrealize (GnomeCanvasItem *item) (*GNOME_CANVAS_ITEM_CLASS (e_meeting_time_selector_item_parent_class)->unrealize)(item); } - static void e_meeting_time_selector_item_update (GnomeCanvasItem *item, double *affine, ArtSVP *clip_path, gint flags) { @@ -244,7 +238,6 @@ e_meeting_time_selector_item_update (GnomeCanvasItem *item, double *affine, ArtS item->y2 = INT_MAX; } - /* * DRAWING ROUTINES - functions to paint the canvas item. */ @@ -381,7 +374,6 @@ e_meeting_time_selector_item_draw (GnomeCanvasItem *item, GdkDrawable *drawable, else e_meeting_time_selector_item_paint_busy_periods (mts_item, drawable, &date, x, y, width, height); - /* Draw the currently-selected meeting time vertical bars. */ if (show_meeting_time) { if (is_display_top) { @@ -414,7 +406,6 @@ e_meeting_time_selector_item_draw (GnomeCanvasItem *item, GdkDrawable *drawable, cairo_destroy (cr); } - static void e_meeting_time_selector_item_paint_day_top (EMeetingTimeSelectorItem *mts_item, GdkDrawable *drawable, GDate *date, @@ -510,7 +501,6 @@ e_meeting_time_selector_item_paint_day_top (EMeetingTimeSelectorItem *mts_item, g_object_unref (layout); } - /* This paints the colored bars representing busy periods for the combined list of attendees. For now we just paint the bars for each attendee of each other. If we want to speed it up we could optimise it later. */ @@ -561,7 +551,6 @@ e_meeting_time_selector_item_paint_all_attendees_busy_periods (EMeetingTimeSelec cairo_destroy (cr); } - static void e_meeting_time_selector_item_paint_day (EMeetingTimeSelectorItem *mts_item, GdkDrawable *drawable, GDate *date, @@ -632,10 +621,8 @@ e_meeting_time_selector_item_paint_day (EMeetingTimeSelectorItem *mts_item, 2, height - unused_y); } - } - /* This paints the colored bars representing busy periods for the individual attendees. */ static void @@ -685,7 +672,6 @@ e_meeting_time_selector_item_paint_busy_periods (EMeetingTimeSelectorItem *mts_i cairo_destroy (cr); } - /* This subtracts the attendees longest_period_in_days from the given date, and does a binary search of the attendee's busy periods array to find the first one which could possible end on the given day or later. @@ -717,7 +703,6 @@ e_meeting_time_selector_item_find_first_busy_period (EMeetingTimeSelectorItem *m return period_num; } - /* This paints the visible busy periods for one attendee which are of a certain busy type, e.g out of office. It is passed the index of the first visible busy period of the attendee and continues until it runs off the screen. */ @@ -789,7 +774,6 @@ e_meeting_time_selector_item_paint_attendee_busy_periods (EMeetingTimeSelectorIt } } - /* * CANVAS ITEM ROUTINES - functions to be a GnomeCanvasItem. */ @@ -806,7 +790,6 @@ e_meeting_time_selector_item_point (GnomeCanvasItem *item, double x, double y, return 0.0; } - static gint e_meeting_time_selector_item_event (GnomeCanvasItem *item, GdkEvent *event) { @@ -831,7 +814,6 @@ e_meeting_time_selector_item_event (GnomeCanvasItem *item, GdkEvent *event) return FALSE; } - /* This handles all button press events for the item. If the cursor is over one of the meeting time vertical bars we start a drag. If not we set the meeting time to the nearest half-hour interval. @@ -940,11 +922,9 @@ e_meeting_time_selector_item_button_press (EMeetingTimeSelectorItem *mts_item, end_time.hour, end_time.minute); - return FALSE; } - /* This handles all button release events for the item. If we were dragging, we finish the drag. */ static gint @@ -966,7 +946,6 @@ e_meeting_time_selector_item_button_release (EMeetingTimeSelectorItem *mts_item, return FALSE; } - /* This handles all motion notify events for the item. If button1 is pressed we check if a drag is in progress. If not, we set the cursor if we are over the meeting time vertical bars. Note that GnomeCanvas doesn't use motion @@ -1010,7 +989,6 @@ e_meeting_time_selector_item_motion_notify (EMeetingTimeSelectorItem *mts_item, return FALSE; } - static EMeetingTimeSelectorPosition e_meeting_time_selector_item_get_drag_position (EMeetingTimeSelectorItem *mts_item, gint x, gint y) @@ -1038,7 +1016,6 @@ e_meeting_time_selector_item_get_drag_position (EMeetingTimeSelectorItem *mts_it return E_MEETING_TIME_SELECTOR_POS_NONE; } - static gboolean e_meeting_time_selector_item_calculate_busy_range (EMeetingTimeSelector *mts, gint row, |