[gtk: 1/2] Remove some unused variables



commit e75bc172efdf094db7a6a45690438d092e9d5038
Author: ZhaoQiang <zhaoqiang gnome org>
Date:   Thu Jan 17 20:05:39 2019 +0800

    Remove some unused variables
    
    To avoid compiler warnings.
    
    See merge request GNOME/gtk!513

 gdk/win32/gdksurface-win32.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index e5a945c9bf..f37da395ec 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -55,7 +55,6 @@ static void gdk_surface_impl_win32_finalize   (GObject                 *object);
 static gpointer parent_class = NULL;
 static GSList *modal_window_stack = NULL;
 
-static const cairo_user_data_key_t gdk_win32_cairo_key;
 typedef struct _FullscreenInfo FullscreenInfo;
 
 struct _FullscreenInfo
@@ -749,7 +748,6 @@ gdk_win32_surface_destroy (GdkSurface *window,
                          gboolean   foreign_destroy)
 {
   GdkSurfaceImplWin32 *surface_impl = GDK_SURFACE_IMPL_WIN32 (window->impl);
-  GSList *tmp;
 
   g_return_if_fail (GDK_IS_SURFACE (window));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]