win32: Remove unused variable
The variable was last used in GTK3.
This commit is contained in:
@@ -425,9 +425,6 @@ struct _GdkWin32ClipboardThread
|
||||
* Contains GdkWin32ClipboardThreadRender structs.
|
||||
*/
|
||||
GAsyncQueue *render_queue;
|
||||
|
||||
/* Set to TRUE when we're calling EmptyClipboard () */
|
||||
gboolean ignore_destroy_clipboard;
|
||||
};
|
||||
|
||||
typedef struct _GdkWin32ClipboardThreadResponse GdkWin32ClipboardThreadResponse;
|
||||
@@ -736,10 +733,8 @@ process_advertise (GdkWin32Clipdrop *clipdrop,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
CLIPDROP_CB_THREAD_MEMBER (clipdrop, ignore_destroy_clipboard) = TRUE;
|
||||
if (!EmptyClipboard ())
|
||||
{
|
||||
CLIPDROP_CB_THREAD_MEMBER (clipdrop, ignore_destroy_clipboard) = FALSE;
|
||||
error_code = GetLastError ();
|
||||
send_response (adv->parent.item_type,
|
||||
adv->parent.opaque_task,
|
||||
@@ -748,8 +743,6 @@ process_advertise (GdkWin32Clipdrop *clipdrop,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
CLIPDROP_CB_THREAD_MEMBER (clipdrop, ignore_destroy_clipboard) = FALSE;
|
||||
|
||||
if (adv->unset)
|
||||
return FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user