[gtk/wip/otte/gl-hdr: 2/14] win32: Remove unused variables
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/gl-hdr: 2/14] win32: Remove unused variables
- Date: Mon, 4 Oct 2021 02:40:45 +0000 (UTC)
commit eedd71b165d9c65e95c0425e7096d6134006586e
Author: Benjamin Otte <otte redhat com>
Date: Mon Oct 4 04:26:10 2021 +0200
win32: Remove unused variables
gdk/win32/gdksurface-win32.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 75bf874a9e..d70af7ce74 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -1160,8 +1160,6 @@ gdk_win32_surface_move_resize_internal (GdkSurface *window,
int width,
int height)
{
- GdkWin32Surface *surface = GDK_WIN32_SURFACE (window);
-
/* We ignore changes to the window being moved or resized by the
user, as we don't want to fight the user */
if (GDK_SURFACE_HWND (window) == _modal_move_resize_window)
@@ -1219,7 +1217,6 @@ gdk_win32_surface_layout_popup (GdkSurface *surface,
int height,
GdkPopupLayout *layout)
{
- GdkWin32Surface *impl = GDK_WIN32_SURFACE (surface);
GdkMonitor *monitor;
GdkRectangle bounds;
GdkRectangle final_rect;
@@ -1835,7 +1832,6 @@ _gdk_win32_surface_lacks_wm_decorations (GdkSurface *window)
void
_gdk_win32_surface_update_style_bits (GdkSurface *window)
{
- GdkWin32Surface *impl = (GdkWin32Surface *)window;
GdkWMDecoration decorations;
LONG old_style, new_style, old_exstyle, new_exstyle;
gboolean all;
@@ -4117,8 +4113,6 @@ gdk_win32_surface_minimize (GdkSurface *window)
static void
gdk_win32_surface_maximize (GdkSurface *window)
{
- GdkWin32Surface *impl;
-
g_return_if_fail (GDK_IS_SURFACE (window));
if (GDK_SURFACE_DESTROYED (window))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]