[gtk/wip.win32.fixes: 55/57] gdk/win32: Some minor cleanups




commit f6ba5592a4f25e5a74be64f963665b82af4cb1a2
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]