fix build with gcc-2.95, patch by Jens Granseuer <jensgr@gmx.net> (Closes:
2006-08-07 Sebastien Bacher <seb128@debian.org> * main.c: (create_rotate_menu): fix build with gcc-2.95, patch by Jens Granseuer <jensgr@gmx.net> (Closes: #347611)
This commit is contained in:
parent
301ba51062
commit
598b331489
2 changed files with 7 additions and 2 deletions
|
@ -491,11 +491,11 @@ static GtkWidget *
|
|||
create_rotate_menu (struct ScreenInfo *screen_info)
|
||||
{
|
||||
GtkComboBox* combo = NULL;
|
||||
int i, item = 0, current_item = -1;
|
||||
|
||||
screen_info->rotate_widget = gtk_combo_box_new_text ();
|
||||
combo = GTK_COMBO_BOX(screen_info->rotate_widget);
|
||||
|
||||
int i, item = 0, current_item = -1;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (rotations); i++)
|
||||
{
|
||||
if ((screen_info->rotations & rotations[i].rotation) != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue