Fix the clipboard test under X11

We don't have a signal handler to worry about here.
This commit is contained in:
Matthias Clasen 2021-04-30 08:02:35 -04:00
parent e1a0e4bfbe
commit 6482954c6e

View File

@ -189,7 +189,8 @@ do_it (GObject *object,
{
GdkClipboard *clipboard;
g_signal_handler_disconnect (object, handler);
if (object)
g_signal_handler_disconnect (object, handler);
clipboard = gdk_display_get_clipboard (gdk_display_get_default ());