Don't export GtkBuilder callbacks anymore

They are connected inside the library now rather than using GModule to
find the symbols. Mark local callback handlers as static since they
aren't global or exported anymore, they should be static. Since they're
static now, all of the forward-declarations of the functions local to
callbacks.c are pointless, so just remove them.
This commit is contained in:
Matthew Brush 2014-10-19 16:01:55 -07:00 committed by Thomas Martitz
parent 1d64d5211f
commit bcc7a35c06
2 changed files with 137 additions and 216 deletions

File diff suppressed because it is too large Load Diff

View File

@ -474,8 +474,7 @@ static void destroy_project(gboolean open_default)
/* Shows the file chooser dialog when base path button is clicked /* Shows the file chooser dialog when base path button is clicked
* FIXME: this should be connected in Glade but 3.8.1 has a bug * FIXME: this should be connected in Glade but 3.8.1 has a bug
* where it won't pass any objects as user data (#588824). */ * where it won't pass any objects as user data (#588824). */
GEANY_EXPORT_SYMBOL void static void on_project_properties_base_path_button_clicked(GtkWidget *button,
on_project_properties_base_path_button_clicked(GtkWidget *button,
GtkWidget *base_path_entry) GtkWidget *base_path_entry)
{ {
GtkWidget *dialog; GtkWidget *dialog;