diff --git a/ChangeLog b/ChangeLog index 509d4da3d..76953f31a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-30 Jens Granseuer + + * src/tabpopup.c: Fix another C89 vs. C99 issue. #347621. + 2006-07-26 Vincent Untz * src/update-from-egg.sh: also kill this diff --git a/src/tabpopup.c b/src/tabpopup.c index 7aa7c6dcc..1ffc36320 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);