[gtk+] x11: Remove motif dnd leftovers
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: Remove motif dnd leftovers
- Date: Thu, 13 Jun 2013 13:32:13 +0000 (UTC)
commit 7ce198ea6f75d8c3afd4b84141b77f84679ce662
Author: Benjamin Otte <otte redhat com>
Date: Mon Jun 3 17:11:26 2013 +0200
x11: Remove motif dnd leftovers
gdk/x11/gdkdisplay-x11.c | 9 ---------
gdk/x11/gdkdisplay-x11.h | 6 ------
2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 42ed153..09a4347 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -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 */
diff --git a/gdk/x11/gdkdisplay-x11.h b/gdk/x11/gdkdisplay-x11.h
index 7bb3b9d..69ba890 100644
--- a/gdk/x11/gdkdisplay-x11.h
+++ b/gdk/x11/gdkdisplay-x11.h
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]