[gtk/wip.win32.fixes: 8/8] gdk/win32: Some minor cleanups
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip.win32.fixes: 8/8] gdk/win32: Some minor cleanups
- Date: Tue, 22 Jun 2021 09:56:12 +0000 (UTC)
commit e79601a9f80b12e1195dc928438fcf41b9fefe66
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Jun 22 17:55:47 2021 +0800
gdk/win32: Some minor cleanups
gdk/win32/gdkdrop-win32.c | 3 ---
gdk/win32/gdksurface-win32.c | 1 -
2 files changed, 4 deletions(-)
---
diff --git a/gdk/win32/gdkdrop-win32.c b/gdk/win32/gdkdrop-win32.c
index 77ed742ee6..536848487f 100644
--- a/gdk/win32/gdkdrop-win32.c
+++ b/gdk/win32/gdkdrop-win32.c
@@ -1097,9 +1097,6 @@ gdk_win32_drop_finish (GdkDrop *drop,
drop_win32->actions = action;
drop_win32->drop_finished = TRUE;
-
- if (drop_win32->protocol == GDK_DRAG_PROTO_OLE2)
- return;
}
#if 0
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index bca73c6edb..4ff52aefdf 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -4593,7 +4593,6 @@ _gdk_win32_surface_compute_size (GdkSurface *surface)
{
surface->width = impl->next_layout.configured_width;
surface->height = impl->next_layout.configured_height;
-
_gdk_surface_update_size (surface);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]