gui/views/week-header: Remove unused variable
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/581>
This commit is contained in:
committed by
Marge Bot
parent
bc53f169eb
commit
81c8900076
@@ -1388,7 +1388,6 @@ static void
|
|||||||
gcal_week_header_snapshot (GtkWidget *widget,
|
gcal_week_header_snapshot (GtkWidget *widget,
|
||||||
GtkSnapshot *snapshot)
|
GtkSnapshot *snapshot)
|
||||||
{
|
{
|
||||||
g_autoptr (GDateTime) week_start = NULL;
|
|
||||||
GcalWeekHeader *self;
|
GcalWeekHeader *self;
|
||||||
gboolean ltr;
|
gboolean ltr;
|
||||||
gint height;
|
gint height;
|
||||||
@@ -1398,7 +1397,6 @@ gcal_week_header_snapshot (GtkWidget *widget,
|
|||||||
/* Fonts and colour selection */
|
/* Fonts and colour selection */
|
||||||
self = GCAL_WEEK_HEADER (widget);
|
self = GCAL_WEEK_HEADER (widget);
|
||||||
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
|
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
|
||||||
week_start = gcal_date_time_get_start_of_week (self->active_date);
|
|
||||||
|
|
||||||
width = gtk_widget_get_width (widget);
|
width = gtk_widget_get_width (widget);
|
||||||
height = gtk_widget_get_height (widget);
|
height = gtk_widget_get_height (widget);
|
||||||
|
|||||||
Reference in New Issue
Block a user