aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-07 09:48:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-07 09:48:27 +0800
commit0cc56c014f68be35e3ac12ccc500ee3528cceea0 (patch)
treee2498f11066bf83247332cb05c40b4ff4fb76e83 /widgets/misc
parent31e449ebed6a136e643ec3bf4c0d9f1b3fc87897 (diff)
downloadgsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.tar.gz
gsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.tar.zst
gsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.zip
Bug 602416 - Changing shell views emits many runtime warnings
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-calendar.c3
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;