summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/notification_area/na-tray-child.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray-child.c b/applets/notification_area/na-tray-child.c
index 76a360f5..c50164c9 100644
--- a/applets/notification_area/na-tray-child.c
+++ b/applets/notification_area/na-tray-child.c
@@ -235,7 +235,9 @@ na_tray_child_expose_event (GtkWidget *widget,
#endif
{
NaTrayChild *child = NA_TRAY_CHILD (widget);
+#if !GTK_CHECK_VERSION (3, 0, 0)
GdkWindow *window = gtk_widget_get_window (widget);
+#endif
if (na_tray_child_has_alpha (child))
{