Fix another C89 vs. C99 issue. #347621.

This commit is contained in:
Thomas James Alexander Thurman 2006-07-30 18:32:40 +00:00
parent 419e063a24
commit 7d8087f3e8
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);