summaryrefslogtreecommitdiff
path: root/applets/notification_area
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-11 10:37:19 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-12 07:04:32 +0100
commit1b7d949fd82fa646d9705b7a04e7090d4f5b9366 (patch)
tree51173c8b5ed401c39008f65329a162ca93f20351 /applets/notification_area
parentb0add1200ab5e61c88a5eb158c92faebef7debfd (diff)
downloadmate-panel-1b7d949fd82fa646d9705b7a04e7090d4f5b9366.tar.bz2
mate-panel-1b7d949fd82fa646d9705b7a04e7090d4f5b9366.tar.xz
GTK+3 na-tray-child: fix a Wunused-but-set-variable build warning
Diffstat (limited to 'applets/notification_area')
-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))
{