diff options
Diffstat (limited to 'applets/clock/clock-map.c')
-rw-r--r-- | applets/clock/clock-map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/clock/clock-map.c b/applets/clock/clock-map.c index bb7fee5c..8e02b273 100644 --- a/applets/clock/clock-map.c +++ b/applets/clock/clock-map.c @@ -662,7 +662,8 @@ clock_map_display (ClockMap *this) { ClockMapPrivate *priv = PRIVATE (this); - clock_map_render_shadow (this); + if (priv->width > 0 || priv->height > 0) + clock_map_render_shadow (this); gtk_widget_queue_draw (GTK_WIDGET (this)); time (&priv->last_refresh); |