[Freeciv-Dev] Weird gtk widget code
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi every one,
in gui-gtk/gui_main.c:setup_widgets(void) I found the following line,
which I don't understand:
gtk_widget_set_style( turn_done_button,
gtk_style_copy(turn_done_button->style)
);
What is the point of setting the style of the turn_done_button to a copy
of the style of the turn_done_button. It sounds like biting one's tail.
Would anybody have any clue on the rationale behind that code ?
Many Thks
Francois
- [Freeciv-Dev] Weird gtk widget code,
Francois Taiani <=
|
|