diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-08 18:30:15 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-09 15:36:42 +0100 |
commit | 445902bc13eaf9332da9096becc81e7ec2b909df (patch) | |
tree | 8492899323e6a0071e1f40855ab0c120f7455d3b | |
parent | 3fc26e94bacf14b60b8092756414b5093ff4c18c (diff) | |
download | mate-panel-445902bc13eaf9332da9096becc81e7ec2b909df.tar.bz2 mate-panel-445902bc13eaf9332da9096becc81e7ec2b909df.tar.xz |
GTK+3 panel-applet-frame: fix deprecated gdk_pointer_ungrab
-rw-r--r-- | mate-panel/panel-applet-frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/panel-applet-frame.c b/mate-panel/panel-applet-frame.c index 3610882e..2abe5914 100644 --- a/mate-panel/panel-applet-frame.c +++ b/mate-panel/panel-applet-frame.c @@ -518,8 +518,9 @@ mate_panel_applet_frame_button_changed (GtkWidget *widget, device_manager = gdk_display_get_device_manager (display); pointer = gdk_device_manager_get_client_pointer (device_manager); gdk_device_ungrab (pointer, GDK_CURRENT_TIME); -#endif +#else gdk_pointer_ungrab (GDK_CURRENT_TIME); +#endif MATE_PANEL_APPLET_FRAME_GET_CLASS (frame)->popup_menu (frame, event->button, |