week-grid: remove unused vars

This commit is contained in:
Georges Basile Stavracas Neto
2016-12-15 17:01:20 -02:00
parent 33f1e4cd31
commit 69ad53352d
-4
View File
@@ -772,14 +772,12 @@ gcal_week_grid_button_press (GtkWidget *widget,
{
GcalWeekGrid *self;
GtkAllocation alloc;
gboolean ltr;
gdouble minute_height;
gint column_width;
gint column;
gint minute;
self = GCAL_WEEK_GRID (widget);
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
gtk_widget_get_allocation (widget, &alloc);
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;
@@ -802,7 +800,6 @@ gcal_week_grid_motion_notify_event (GtkWidget *widget,
{
GcalWeekGrid *self;
GtkAllocation alloc;
gboolean ltr;
gdouble minute_height;
gint column;
gint minute;
@@ -811,7 +808,6 @@ gcal_week_grid_motion_notify_event (GtkWidget *widget,
return GDK_EVENT_PROPAGATE;
self = GCAL_WEEK_GRID (widget);
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
gtk_widget_get_allocation (widget, &alloc);
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;