Skip to content
Permalink
Browse files

mate-desktop-item: replace deprecated gdk_error_trap_push/pop

  • Loading branch information...
raveit65 committed Aug 12, 2018
1 parent 6ef0247 commit f791ef8c34fe117914cbb48feb81e3229479af8a
Showing with 8 additions and 2 deletions.
  1. +8 −2 libmate-desktop/mate-desktop-item.c
@@ -1473,14 +1473,20 @@ static void
sn_error_trap_push (SnDisplay *display,
Display *xdisplay)
{
gdk_error_trap_push ();
GdkDisplay *gdkdisplay;

gdkdisplay = gdk_display_get_default ();
gdk_x11_display_error_trap_push (gdkdisplay);
}

static void
sn_error_trap_pop (SnDisplay *display,
Display *xdisplay)
{
gdk_error_trap_pop_ignored ();
GdkDisplay *gdkdisplay;

gdkdisplay = gdk_display_get_default ();
gdk_x11_display_error_trap_pop_ignored (gdkdisplay);
}

static char **

0 comments on commit f791ef8

Please sign in to comment.
You can’t perform that action at this time.