gtk: Make functions static that don't need to be non-static

Also remove the starting underscore from function names where
appropriate, as those functions are static now and not exported anymore.

This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.
This commit is contained in:
Benjamin Otte
2012-10-02 19:23:29 +02:00
parent 48c6b3b4f4
commit 12683da8f7
10 changed files with 51 additions and 51 deletions

View File

@ -1584,8 +1584,8 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
return above;
}
void
_gtk_entry_completion_popup (GtkEntryCompletion *completion)
static void
gtk_entry_completion_popup (GtkEntryCompletion *completion)
{
GtkTreeViewColumn *column;
GtkStyleContext *context;
@ -2182,7 +2182,7 @@ gtk_entry_completion_timeout (gpointer data)
if (gtk_widget_get_visible (completion->priv->popup_window))
_gtk_entry_completion_resize_popup (completion);
else
_gtk_entry_completion_popup (completion);
gtk_entry_completion_popup (completion);
}
else
_gtk_entry_completion_popdown (completion);