diff options
author | Aidan Delaney <adelaney@cs.may.ie> | 2005-02-09 16:07:56 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-02-09 16:07:56 +0000 |
commit | f7aad0d647e647761a5398172c51b59eea54e263 (patch) | |
tree | 7bc262b18d3bc3fae9a5e9e05b3dba88429f4f07 | |
parent | fe1416c65ff6d6a13437f32c6835e0f82356a4eb (diff) | |
download | metacity-f7aad0d647e647761a5398172c51b59eea54e263.tar.gz |
Removed useless function call. #166730
2005-02-08 Aidan Delaney <adelaney@cs.may.ie>
Removed useless function call. #166730
* src/tabpopup.c: (outline_window_expose): Removed unused
references to variables and an unnecessary function call to
gdk_window_get_size().
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/tabpopup.c | 3 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2005-02-08 Aidan Delaney <adelaney@cs.may.ie> + + Removed useless function call. #166730 + + * src/tabpopup.c: (outline_window_expose): Removed unused + references to variables and an unnecessary function call to + gdk_window_get_size(). + 2005-02-08 Elijah Newren <newren@gmail.com> Avoid using CurrentTime when focusing, handle it better in case we diff --git a/src/tabpopup.c b/src/tabpopup.c index 94c6f381..fd880f87 100644 --- a/src/tabpopup.c +++ b/src/tabpopup.c @@ -72,7 +72,6 @@ outline_window_expose (GtkWidget *widget, gpointer data) { MetaTabPopup *popup; - int w, h; TabEntry *te; popup = data; @@ -82,8 +81,6 @@ outline_window_expose (GtkWidget *widget, te = popup->current_selected_entry; - gdk_window_get_size (widget->window, &w, &h); - gdk_draw_rectangle (widget->window, widget->style->white_gc, FALSE, |