summaryrefslogtreecommitdiff
path: root/charpick/charpick.c
diff options
context:
space:
mode:
Diffstat (limited to 'charpick/charpick.c')
-rw-r--r--charpick/charpick.c4
1 files 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"