[gnome-calendar/wip/pandusonu/week-view] week-grid: remove unused vars
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/pandusonu/week-view] week-grid: remove unused vars
- Date: Thu, 15 Dec 2016 19:04:08 +0000 (UTC)
commit 69ad53352da6a7fb4dc852a49041380160ed70f1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 15 17:01:20 2016 -0200
week-grid: remove unused vars
src/views/gcal-week-grid.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/views/gcal-week-grid.c b/src/views/gcal-week-grid.c
index e377ae2..5ab9c94 100644
--- a/src/views/gcal-week-grid.c
+++ b/src/views/gcal-week-grid.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]