Mark a local function static
This commit is contained in:
parent
adc22a453b
commit
3ffc5773a0
@ -439,7 +439,7 @@ static gboolean has_tabs_on_right(GeanyDocument *doc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void on_close_documents_right_activate(GtkMenuItem *menuitem, GeanyDocument *doc)
|
static void on_close_documents_right_activate(GtkMenuItem *menuitem, GeanyDocument *doc)
|
||||||
{
|
{
|
||||||
g_return_if_fail(has_tabs_on_right(doc));
|
g_return_if_fail(has_tabs_on_right(doc));
|
||||||
GtkNotebook *nb = GTK_NOTEBOOK(main_widgets.notebook);
|
GtkNotebook *nb = GTK_NOTEBOOK(main_widgets.notebook);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user