aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-calendar.c')
-rw-r--r--widgets/misc/e-calendar.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c
index a0adf46cf5..fd17c67aab 100644
--- a/widgets/misc/e-calendar.c
+++ b/widgets/misc/e-calendar.c
@@ -99,7 +99,6 @@ static void e_calendar_stop_auto_move (ECalendar *cal);
G_DEFINE_TYPE (ECalendar, e_calendar, E_CANVAS_TYPE)
-
static void
e_calendar_class_init (ECalendarClass *class)
{
@@ -120,7 +119,6 @@ e_calendar_class_init (ECalendarClass *class)
widget_class->focus = e_calendar_focus;
}
-
static void
e_calendar_init (ECalendar *cal)
{
@@ -202,7 +200,6 @@ e_calendar_init (ECalendar *cal)
cal->timeout_id = 0;
}
-
/**
* e_calendar_new:
* @Returns: a new #ECalendar.
@@ -222,7 +219,6 @@ e_calendar_new (void)
return cal;
}
-
static void
e_calendar_destroy (GtkObject *object)
{
@@ -242,7 +238,6 @@ e_calendar_destroy (GtkObject *object)
(* GTK_OBJECT_CLASS (e_calendar_parent_class)->destroy) (object);
}
-
static void
e_calendar_realize (GtkWidget *widget)
{
@@ -254,7 +249,6 @@ e_calendar_realize (GtkWidget *widget)
&widget->style->bg[GTK_STATE_NORMAL]);
}
-
static void
e_calendar_style_set (GtkWidget *widget,
GtkStyle *previous_style)
@@ -274,7 +268,6 @@ e_calendar_style_set (GtkWidget *widget,
e_calendar_item_style_set (widget, e_calendar->calitem);
}
-
static void
e_calendar_size_request (GtkWidget *widget,
GtkRequisition *requisition)
@@ -298,7 +291,6 @@ e_calendar_size_request (GtkWidget *widget,
requisition->height = height + style->ythickness * 2;
}
-
static void
e_calendar_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
@@ -339,7 +331,6 @@ e_calendar_size_allocate (GtkWidget *widget,
"y2", new_y2,
NULL);
-
/* Position the arrow buttons. */
arrow_button_size =
PANGO_PIXELS (pango_font_metrics_get_ascent (font_metrics))
@@ -391,7 +382,6 @@ e_calendar_set_minimum_size (ECalendar *cal,
gtk_widget_queue_resize (GTK_WIDGET (cal));
}
-
void
e_calendar_set_maximum_size (ECalendar *cal,
gint rows,
@@ -410,7 +400,6 @@ e_calendar_set_maximum_size (ECalendar *cal,
gtk_widget_queue_resize (GTK_WIDGET (cal));
}
-
/* Returns the border size on each side of the month displays. */
void
e_calendar_get_border_size (ECalendar *cal,
@@ -435,7 +424,6 @@ e_calendar_get_border_size (ECalendar *cal,
}
}
-
static void
e_calendar_on_prev_pressed (ECalendar *cal)
{
@@ -462,7 +450,6 @@ e_calendar_start_auto_move (ECalendar *cal,
}
-
static gboolean
e_calendar_auto_move_handler (gpointer data)
{
@@ -489,21 +476,18 @@ e_calendar_auto_move_handler (gpointer data)
return TRUE;
}
-
static void
e_calendar_on_prev_released (ECalendar *cal)
{
e_calendar_stop_auto_move (cal);
}
-
static void
e_calendar_on_next_released (ECalendar *cal)
{
e_calendar_stop_auto_move (cal);
}
-
static void
e_calendar_stop_auto_move (ECalendar *cal)
{
@@ -527,7 +511,6 @@ e_calendar_on_next_clicked (ECalendar *cal)
cal->calitem->month + 1);
}
-
static gint
e_calendar_drag_motion (GtkWidget *widget,
GdkDragContext *context,
@@ -542,7 +525,6 @@ e_calendar_drag_motion (GtkWidget *widget,
return FALSE;
}
-
static void
e_calendar_drag_leave (GtkWidget *widget,
GdkDragContext *context,