Kaydet (Commit) ba645513 authored tarafından Colomban Wendling's avatar Colomban Wendling

Don't use non-C89 initializers

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5600 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 0e888d75
...@@ -189,10 +189,10 @@ static void set_command(GeanyBuildCommand *bc, gint id, gchar *str) ...@@ -189,10 +189,10 @@ static void set_command(GeanyBuildCommand *bc, gint id, gchar *str)
} }
static const gchar *config_keys[] = { static const gchar *config_keys[GEANY_BC_CMDENTRIES_COUNT] = {
[GEANY_BC_LABEL] = "LB", "LB", /* label */
[GEANY_BC_COMMAND] = "CM", "CM", /* command */
[GEANY_BC_WORKING_DIR] = "WD" "WD" /* working directory */
}; };
/*----------------------------------------------------- /*-----------------------------------------------------
...@@ -1762,7 +1762,7 @@ static void set_row_color(RowWidgets *r, GdkColor *color ) ...@@ -1762,7 +1762,7 @@ static void set_row_color(RowWidgets *r, GdkColor *color )
for (i = 0; i < GEANY_BC_CMDENTRIES_COUNT; i++) for (i = 0; i < GEANY_BC_CMDENTRIES_COUNT; i++)
gtk_widget_modify_text(r->entries[i], GTK_STATE_NORMAL, color); gtk_widget_modify_text(r->entries[i], GTK_STATE_NORMAL, color);
}; }
static void set_build_command_entry_text(GtkWidget *wid, const gchar *text) static void set_build_command_entry_text(GtkWidget *wid, const gchar *text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment