summaryrefslogtreecommitdiff
path: root/extra/gtk3
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk3')
-rw-r--r--extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch24
-rw-r--r--extra/gtk3/moveresize.patch47
2 files changed, 0 insertions, 71 deletions
diff --git a/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch b/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch
deleted file mode 100644
index 3a0f8320e..000000000
--- a/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From aca43f43be3886f1a0befda0178ebb94ea2cf7b1 Mon Sep 17 00:00:00 2001
-From: Benjamin Otte <otte@redhat.com>
-Date: Tue, 29 Nov 2011 19:39:21 +0000
-Subject: filechooserdefault: Don't unref value twice
-
-Double unref was introduced in eb02dacb370e8b4e6ef62328d0c09673b1234b32
-
-https://bugzilla.gnome.org/show_bug.cgi?id=646461
-https://bugzilla.gnome.org/show_bug.cgi?id=664137
----
-diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
-index e33b91e..a74aacc 100644
---- a/gtk/gtkfilechooserdefault.c
-+++ b/gtk/gtkfilechooserdefault.c
-@@ -10127,7 +10127,6 @@ list_row_activated (GtkTreeView *tree_view,
- if (is_folder && file)
- {
- change_folder_and_display_error (impl, file, FALSE);
-- g_object_unref (file);
- goto out;
- }
-
---
-cgit v0.9.0.2
diff --git a/extra/gtk3/moveresize.patch b/extra/gtk3/moveresize.patch
deleted file mode 100644
index a2795fcc8..000000000
--- a/extra/gtk3/moveresize.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 89c90ed193331d2ee96f323e10aaafd4366f4b0e Mon Sep 17 00:00:00 2001
-From: Matthias Clasen <mclasen@redhat.com>
-Date: Sat, 10 Dec 2011 02:21:09 +0000
-Subject: Fix move-resize emulation with XI2
-
-https://bugzilla.gnome.org/show_bug.cgi?id=650943
----
-diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
-index 1ff816e..d48927f 100644
---- a/gdk/x11/gdkwindow-x11.c
-+++ b/gdk/x11/gdkwindow-x11.c
-@@ -4296,6 +4296,33 @@ _gdk_x11_moveresize_handle_event (XEvent *event)
- if (event->xbutton.button == mv_resize->moveresize_button)
- finish_drag (mv_resize);
- break;
-+
-+#ifdef HAVE_XGENERICEVENTS
-+ case GenericEvent:
-+ {
-+ /* we just assume this is an XI2 event */
-+ XIEvent *ev = (XIEvent *) event->xcookie.data;
-+ XIDeviceEvent *xev = (XIDeviceEvent *)ev;
-+ gint state;
-+ switch (ev->evtype)
-+ {
-+ case XI_Motion:
-+ update_pos (mv_resize, xev->root_x, xev->root_y);
-+ state = _gdk_x11_device_xi2_translate_state (&xev->mods, &xev->buttons, &xev->group);
-+ if ((state & button_mask) == 0)
-+ finish_drag (mv_resize);
-+ break;
-+
-+ case XI_ButtonRelease:
-+ update_pos (mv_resize, xev->root_x, xev->root_y);
-+ if (xev->detail == mv_resize->moveresize_button)
-+ finish_drag (mv_resize);
-+ break;
-+ }
-+ }
-+ break;
-+#endif
-+
- }
- return TRUE;
- }
---
-cgit v0.9.0.2