diff options
author | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2006-07-30 18:32:40 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2006-07-30 18:32:40 +0000 |
commit | 7d8087f3e85d62b96a4f64cd86ebf4c563080c76 (patch) | |
tree | 7206d6aefdcf5515c61c657f640ae3fb86e004bb | |
parent | 419e063a248baf9a56b3f41ac2377a941c2bde10 (diff) | |
download | metacity-7d8087f3e85d62b96a4f64cd86ebf4c563080c76.tar.gz |
Fix another C89 vs. C99 issue. #347621.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/tabpopup.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-07-30 Jens Granseuer <jensgr@gmx.net> + + * src/tabpopup.c: Fix another C89 vs. C99 issue. #347621. + 2006-07-26 Vincent Untz <vuntz@gnome.org> * src/update-from-egg.sh: also kill this diff --git a/src/tabpopup.c b/src/tabpopup.c index 7aa7c6dc..1ffc3632 100644 --- a/src/tabpopup.c +++ b/src/tabpopup.c @@ -223,6 +223,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, GtkWidget *frame; int max_label_width; /* the actual max width of the labels we create */ GdkScreen *screen; + int screen_width; popup = g_new (MetaTabPopup, 1); @@ -254,7 +255,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, popup->current_selected_entry = NULL; popup->outline = outline; - int screen_width = gdk_screen_get_width (screen); + screen_width = gdk_screen_get_width (screen); for (i = 0; i < entry_count; ++i) { TabEntry* new_entry = tab_entry_new (&entries[i], screen_width, outline); |