From 02a40fb1683e103eefd79a9874cf5d4cafb18c7d Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 31 Jan 2017 15:44:34 +0300 Subject: charpick: add missing static declaration for variable --- charpick/charpick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charpick/charpick.c b/charpick/charpick.c index d06b98e3..fffcfbda 100644 --- a/charpick/charpick.c +++ b/charpick/charpick.c @@ -396,7 +396,7 @@ chooser_button_clicked (GtkButton *button, charpick_data *curr_data) static inline void force_no_focus_padding (GtkWidget *widget) { #if GTK_CHECK_VERSION (3, 0, 0) - gboolean first_time = TRUE; + static gboolean first_time = TRUE; GtkCssProvider *provider; if (first_time) { @@ -418,7 +418,7 @@ static inline void force_no_focus_padding (GtkWidget *widget) first_time = FALSE; } #else - gboolean first_time=TRUE; + static gboolean first_time = TRUE; if (first_time) { gtk_rc_parse_string ("\n" -- cgit v1.2.1