diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-11 10:37:19 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-12 07:04:32 +0100 |
commit | 1b7d949fd82fa646d9705b7a04e7090d4f5b9366 (patch) | |
tree | 51173c8b5ed401c39008f65329a162ca93f20351 | |
parent | b0add1200ab5e61c88a5eb158c92faebef7debfd (diff) | |
download | mate-panel-1b7d949fd82fa646d9705b7a04e7090d4f5b9366.tar.bz2 mate-panel-1b7d949fd82fa646d9705b7a04e7090d4f5b9366.tar.xz |
GTK+3 na-tray-child: fix a Wunused-but-set-variable build warning
-rw-r--r-- | applets/notification_area/na-tray-child.c | 2 |
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)) { |