Author: cazfi Date: Sat Feb 7 05:59:07 2015 New Revision: 28009 URL: http://svn.gna.org/viewcvs/freeciv?rev=28009&view=rev Log: Removed unused 'enum info_style' from gt3k-client citydlg.c
See patch #5779 Modified: branches/S2_6/client/gui-gtk-3.0/citydlg.c Modified: branches/S2_6/client/gui-gtk-3.0/citydlg.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.0/citydlg.c?rev=28009&r1=28008&r2=28009&view=diff ============================================================================== --- branches/S2_6/client/gui-gtk-3.0/citydlg.c (original) +++ branches/S2_6/client/gui-gtk-3.0/citydlg.c Sat Feb 7 05:59:07 2015 @@ -103,8 +103,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 13 /* number of fields in city_info */ #define NUM_PAGES 6 /* the number of pages in city dialog notebook @@ -317,8 +315,6 @@ dialog_list = dialog_list_new(); init_citydlg_dimensions(); - - /* make the styles */ city_dialogs_have_been_initialised = TRUE; } @@ -1674,8 +1670,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