[gtk+/gtk-3-22] Revert "GdkWaylandWindow: Unexport when finalizing"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Revert "GdkWaylandWindow: Unexport when finalizing"
- Date: Mon, 8 May 2017 20:04:18 +0000 (UTC)
commit 7c66c68f48afa8f65199825fd7e0aaa0500d5565
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 8 16:00:49 2017 -0400
Revert "GdkWaylandWindow: Unexport when finalizing"
This reverts commit ab4e4bd3aec6aeb3df6de16bd12d7f538de39061.
gdk/wayland/gdkwindow-wayland.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index f36f9b2..191ab21 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -239,8 +239,6 @@ static void calculate_moved_to_rect_result (GdkWindow *window,
gboolean *flipped_x,
gboolean *flipped_y);
-static gboolean gdk_wayland_window_is_exported (GdkWindow *window);
-
GType _gdk_window_impl_wayland_get_type (void);
G_DEFINE_TYPE (GdkWindowImplWayland, _gdk_window_impl_wayland, GDK_TYPE_WINDOW_IMPL)
@@ -971,9 +969,6 @@ gdk_window_impl_wayland_finalize (GObject *object)
impl = GDK_WINDOW_IMPL_WAYLAND (object);
- if (gdk_wayland_window_is_exported (window))
- gdk_wayland_window_unexport_handle (window);
-
g_free (impl->title);
g_free (impl->application.application_id);
@@ -4054,12 +4049,6 @@ static const struct zxdg_exported_v1_listener xdg_exported_listener = {
* Since: 3.22
*/
-static gboolean
-gdk_wayland_window_is_exported (GdkWindow *window)
-{
- return !!impl->display_server.xdg_exported;
-}
-
/**
* gdk_wayland_window_export_handle:
* @window: the #GdkWindow to obtain a handle for
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]