[mutter] Remove unused code



commit b79e6c0b3e15583f22121e12c8f80c6a6fdd8f87
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 20 20:19:57 2010 +0200

    Remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630203

 src/ui/frames.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index d3a22bf..e25f361 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1022,10 +1022,9 @@ meta_frames_move_resize_frame (MetaFrames *frames,
                                int         height)
 {
   MetaUIFrame *frame = meta_frames_lookup_window (frames, xwindow);
-  int old_x, old_y, old_width, old_height;
+  int old_width, old_height;
   
   gdk_drawable_get_size (frame->window, &old_width, &old_height);
-  gdk_window_get_position (frame->window, &old_x, &old_y);
 
   gdk_window_move_resize (frame->window, x, y, width, height);
 



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