mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
x11: Remove motif dnd leftovers
This commit is contained in:
parent
0d55d9b96b
commit
7ce198ea6f
@ -1873,20 +1873,11 @@ static void
|
||||
gdk_x11_display_finalize (GObject *object)
|
||||
{
|
||||
GdkX11Display *display_x11 = GDK_X11_DISPLAY (object);
|
||||
gint i;
|
||||
|
||||
/* Keymap */
|
||||
if (display_x11->keymap)
|
||||
g_object_unref (display_x11->keymap);
|
||||
|
||||
/* Free motif Dnd */
|
||||
if (display_x11->motif_target_lists)
|
||||
{
|
||||
for (i = 0; i < display_x11->motif_n_target_lists; i++)
|
||||
g_list_free (display_x11->motif_target_lists[i]);
|
||||
g_free (display_x11->motif_target_lists);
|
||||
}
|
||||
|
||||
_gdk_x11_cursor_display_finalize (GDK_DISPLAY (display_x11));
|
||||
|
||||
/* Empty the event queue */
|
||||
|
@ -77,12 +77,6 @@ struct _GdkX11Display
|
||||
/* drag and drop information */
|
||||
GdkDragContext *current_dest_drag;
|
||||
|
||||
/* data needed for MOTIF DnD */
|
||||
Window motif_drag_window;
|
||||
GdkWindow *motif_drag_gdk_window;
|
||||
GList **motif_target_lists;
|
||||
gint motif_n_target_lists;
|
||||
|
||||
/* Mapping to/from virtual atoms */
|
||||
GHashTable *atom_from_virtual;
|
||||
GHashTable *atom_to_virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user