week-grid: remove unused vars
This commit is contained in:
@@ -772,14 +772,12 @@ gcal_week_grid_button_press (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
GcalWeekGrid *self;
|
GcalWeekGrid *self;
|
||||||
GtkAllocation alloc;
|
GtkAllocation alloc;
|
||||||
gboolean ltr;
|
|
||||||
gdouble minute_height;
|
gdouble minute_height;
|
||||||
gint column_width;
|
gint column_width;
|
||||||
gint column;
|
gint column;
|
||||||
gint minute;
|
gint minute;
|
||||||
|
|
||||||
self = GCAL_WEEK_GRID (widget);
|
self = GCAL_WEEK_GRID (widget);
|
||||||
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
|
|
||||||
|
|
||||||
gtk_widget_get_allocation (widget, &alloc);
|
gtk_widget_get_allocation (widget, &alloc);
|
||||||
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;
|
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;
|
||||||
@@ -802,7 +800,6 @@ gcal_week_grid_motion_notify_event (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
GcalWeekGrid *self;
|
GcalWeekGrid *self;
|
||||||
GtkAllocation alloc;
|
GtkAllocation alloc;
|
||||||
gboolean ltr;
|
|
||||||
gdouble minute_height;
|
gdouble minute_height;
|
||||||
gint column;
|
gint column;
|
||||||
gint minute;
|
gint minute;
|
||||||
@@ -811,7 +808,6 @@ gcal_week_grid_motion_notify_event (GtkWidget *widget,
|
|||||||
return GDK_EVENT_PROPAGATE;
|
return GDK_EVENT_PROPAGATE;
|
||||||
|
|
||||||
self = GCAL_WEEK_GRID (widget);
|
self = GCAL_WEEK_GRID (widget);
|
||||||
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
|
|
||||||
|
|
||||||
gtk_widget_get_allocation (widget, &alloc);
|
gtk_widget_get_allocation (widget, &alloc);
|
||||||
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;
|
minute_height = (gdouble) alloc.height / MINUTES_PER_DAY;
|
||||||
|
|||||||
Reference in New Issue
Block a user