mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
Fix another C89 vs. C99 issue. #347621.
This commit is contained in:
parent
419e063a24
commit
7d8087f3e8
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user