summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/system-tray/na-tray-manager.c')
-rw-r--r--applets/notification_area/system-tray/na-tray-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/notification_area/system-tray/na-tray-manager.c b/applets/notification_area/system-tray/na-tray-manager.c
index 2bb679d8..d4f27ff3 100644
--- a/applets/notification_area/system-tray/na-tray-manager.c
+++ b/applets/notification_area/system-tray/na-tray-manager.c
@@ -537,6 +537,7 @@ na_tray_manager_unmanage (NaTrayManager *manager)
{
#ifdef GDK_WINDOWING_X11
GdkDisplay *display;
+ guint32 timestamp;
GtkWidget *invisible;
GdkWindow *window;
@@ -555,7 +556,7 @@ na_tray_manager_unmanage (NaTrayManager *manager)
if (gdk_selection_owner_get_for_display (display, manager->selection_atom) ==
window)
{
- guint32 timestamp = gdk_x11_get_server_time (window);
+ timestamp = gdk_x11_get_server_time (window);
gdk_selection_owner_set_for_display (display,
NULL,
manager->selection_atom,