diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-calendar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c index 384d4ce664..9673db812c 100644 --- a/widgets/misc/e-calendar.c +++ b/widgets/misc/e-calendar.c @@ -267,8 +267,7 @@ e_calendar_style_set (GtkWidget *widget, /* Set the background of the canvas window to the normal color, or the arrow buttons are not displayed properly. */ - parent = gtk_widget_get_parent (widget); - if (GTK_WIDGET_REALIZED (parent)) { + if (GTK_WIDGET_REALIZED (widget)) { GtkStyle *style; GdkWindow *window; |