From ac0eec3871fb909b3f4474af4b86d499c814a537 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 16 Jul 2012 19:11:16 -0400 Subject: [PATCH] rm static from local constants --- termite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termite.c b/termite.c index 8cf83a1..fbd8b71 100644 --- a/termite.c +++ b/termite.c @@ -501,7 +501,7 @@ static bool get_config_color(GKeyFile *config, const char *key, GdkColor *color) static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info, const char **term) { - static const char * const filename = "termite.cfg"; + const char * const filename = "termite.cfg"; const char *dir = g_get_user_config_dir(); char *path = g_build_filename(dir, filename, NULL); GKeyFile *config = g_key_file_new(); @@ -613,7 +613,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info, vte_terminal_set_opacity(vte, (guint16)(0xffff * (1 - cfgdouble))); } - static const long palette_size = 255; + const long palette_size = 255; GdkColor color, palette[palette_size]; char color_key[] = "color000";