summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-tray-child.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 16:28:11 +0200
committerinfirit <[email protected]>2014-05-16 16:28:11 +0200
commit41ff2a970ebee68fc7ca335f10ae24a6210d1fd5 (patch)
tree1fece64eda0067255bbf37dc03835bb177bccfff /applets/notification_area/na-tray-child.c
parent472ccc0025494452e705ac28dc82fe5abd431de8 (diff)
downloadmate-panel-41ff2a970ebee68fc7ca335f10ae24a6210d1fd5.tar.bz2
mate-panel-41ff2a970ebee68fc7ca335f10ae24a6210d1fd5.tar.xz
Use GDK_WINDOW_XID for gtk+2 and gtk+3
It was introduced in gdk2 already so clean up the code.
Diffstat (limited to 'applets/notification_area/na-tray-child.c')
-rw-r--r--applets/notification_area/na-tray-child.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/applets/notification_area/na-tray-child.c b/applets/notification_area/na-tray-child.c
index 84fddf64..9ff5c739 100644
--- a/applets/notification_area/na-tray-child.c
+++ b/applets/notification_area/na-tray-child.c
@@ -492,11 +492,7 @@ na_tray_child_force_redraw (NaTrayChild *child)
gtk_widget_get_allocation (widget, &allocation);
xev.xexpose.type = Expose;
-#if GTK_CHECK_VERSION (3, 0, 0)
xev.xexpose.window = GDK_WINDOW_XID (plug_window);
-#else
- xev.xexpose.window = GDK_WINDOW_XWINDOW (plug_window);
-#endif
xev.xexpose.x = 0;
xev.xexpose.y = 0;
xev.xexpose.width = allocation.width;