Author: cazfi Date: Sat Feb 7 05:59:21 2015 New Revision: 28011 URL: http://svn.gna.org/viewcvs/freeciv?rev=28011&view=rev Log: Removed unused 'enum info_style' from gt3k-client citydlg.c
See patch #5779 Modified: branches/S2_4/client/gui-gtk-3.0/citydlg.c Modified: branches/S2_4/client/gui-gtk-3.0/citydlg.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_4/client/gui-gtk-3.0/citydlg.c?rev=28011&r1=28010&r2=28011&view=diff ============================================================================== --- branches/S2_4/client/gui-gtk-3.0/citydlg.c (original) +++ branches/S2_4/client/gui-gtk-3.0/citydlg.c Sat Feb 7 05:59:21 2015 @@ -101,8 +101,6 @@ HAPPINESS_PAGE, CMA_PAGE, TRADE_PAGE, MISC_PAGE }; -enum info_style { NORMAL, ORANGE, RED, NUM_INFO_STYLES }; - #define NUM_CITIZENS_SHOWN 30 #define NUM_INFO_FIELDS 12 /* number of fields in city_info */ #define NUM_PAGES 6 /* the number of pages in city dialog notebook @@ -307,8 +305,6 @@ dialog_list = dialog_list_new(); init_citydlg_dimensions(); - - /* make the styles */ city_dialogs_have_been_initialised = TRUE; } @@ -1641,8 +1637,7 @@ color = (granaryturns == 0 || pcity->surplus[O_FOOD] < 0) ? &red : NULL; gtk_widget_override_color(info_label[GROWTH], GTK_STATE_FLAG_NORMAL, color); - /* someone could add the info_label_style[ORANGE] - * style for better granularity here */ + /* someone could add the color &orange for better granularity here */ color = (pcity->pollution >= 10) ? &red : NULL; gtk_widget_override_color(info_label[POLLUTION], GTK_STATE_FLAG_NORMAL, color); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits