Use static linkage for various local names

This commit is contained in:
Paul Cornett
2017-09-24 09:29:26 -07:00
parent 925a1c0734
commit cd1c3fab0c
18 changed files with 38 additions and 7 deletions

View File

@@ -58,8 +58,8 @@ static unsigned int GetEntryTextLength(GtkEntry* entry)
// ============================================================================
// "insert_text" handler for GtkEntry
extern "C"
void
extern "C" {
static void
wx_gtk_insert_text_callback(GtkEditable *editable,
const gchar * new_text,
gint new_text_length,
@@ -146,6 +146,7 @@ wx_gtk_insert_text_callback(GtkEditable *editable,
g_signal_stop_emission_by_name (editable, "insert_text");
}
}
}
//-----------------------------------------------------------------------------
// clipboard events: "copy-clipboard", "cut-clipboard", "paste-clipboard"