1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-16 10:21:15 +01:00

Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows

This commit is contained in:
gunnar_g 2011-08-29 11:17:53 +00:00
parent b48c14cc9a
commit 974b4b357e
11 changed files with 261 additions and 209 deletions

View File

@ -47,7 +47,54 @@ CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
am_bygfoot_OBJECTS = bet.$(OBJEXT) callback_func.$(OBJEXT) \
am__bygfoot_SOURCES_DIST = bet.c bet.h finance.h fixture.h game_gui.h \
league.h main.h maths.h misc.h option.h player.h support.h \
treeview2.h user.h callback_func.c callback_func.h callbacks.h \
cup.h gui.h live_game.h start_end.h team.h transfer.h \
treeview.h treeview_helper.h window.h callbacks.c debug.h \
free.h game.h job.h load_save.h misc2_callback_func.h table.h \
cup.c variables.h xml_league.h debug.c strategy.h file.c \
file.h language.h finance.c fixture.c free.c bet_struct.h \
lg_commentary_struct.h strategy_struct.h game.c game_gui.c \
gui.c interface.c interface.h job.c xml_country.h language.c \
lg_commentary.h lg_commentary.c xml_lg_commentary.h league.c \
stat.h live_game.c misc_callback_func.h load_save.c xml.h \
xml_loadsave_cup.h xml_loadsave_jobs.h xml_loadsave_league.h \
xml_loadsave_leagues_cups.h xml_loadsave_misc.h \
xml_loadsave_season_stats.h xml_loadsave_transfers.h \
xml_loadsave_users.h main.c job_struct.h misc_callbacks.h \
name_struct.h stat_struct.h transfer_struct.h xml_strategy.h \
maths.c misc.c misc_callbacks.c misc_callback_func.c \
xml_name.h misc2_callbacks.c misc2_callbacks.h \
misc2_interface.h misc3_callbacks.c misc3_callbacks.h \
misc3_interface.h misc2_callback_func.c misc_interface.c \
misc_interface.h misc2_interface.c misc3_interface.c name.c \
name.h news.c news.h xml_news.h option.c option_gui.c \
option_gui.h training.h options_callbacks.c \
options_callbacks.h options_interface.h options_interface.c \
player.c start_end.c youth_academy.h stat.c table_struct.h \
strategy.c support.c table.c team.c xml_team.h training.c \
enums.h glib.h training_callbacks.c bygfoot.h \
training_callbacks.h training_interface.h training_struct.h \
training_interface.c transfer.c treeview.c treeview2.c \
treeview_helper.c user.c xml_mmatches.h window.c xml.c \
xml_loadsave_fixtures.h xml_loadsave_league_stat.h \
xml_loadsave_live_game.h xml_loadsave_table.h \
xml_loadsave_teams.h xml_loadsave_cup.c \
xml_loadsave_fixtures.c xml_loadsave_jobs.c \
xml_loadsave_league.c xml_loadsave_leagues_cups.c \
league_struct.h xml_loadsave_league_stat.c \
xml_loadsave_live_game.c xml_loadsave_misc.c \
xml_loadsave_newspaper.c xml_loadsave_newspaper.h \
xml_loadsave_players.c xml_loadsave_players.h \
xml_loadsave_season_stats.c xml_loadsave_table.c \
xml_loadsave_teams.c xml_loadsave_transfers.c \
xml_loadsave_users.c xml_cup.c xml_cup.h xml_country.c \
xml_league.c cup_struct.h xml_lg_commentary.c xml_mmatches.c \
xml_name.c xml_news.c xml_strategy.c xml_team.c \
youth_academy.c zip/zip.c zip/zip.h zip/unzip.c zip/unzip.h \
bygfoot_private.rc
am__objects_1 = bet.$(OBJEXT) callback_func.$(OBJEXT) \
callbacks.$(OBJEXT) cup.$(OBJEXT) debug.$(OBJEXT) \
file.$(OBJEXT) finance.$(OBJEXT) fixture.$(OBJEXT) \
free.$(OBJEXT) game.$(OBJEXT) game_gui.$(OBJEXT) gui.$(OBJEXT) \
@ -83,9 +130,12 @@ am_bygfoot_OBJECTS = bet.$(OBJEXT) callback_func.$(OBJEXT) \
xml_name.$(OBJEXT) xml_news.$(OBJEXT) xml_strategy.$(OBJEXT) \
xml_team.$(OBJEXT) youth_academy.$(OBJEXT) zip.$(OBJEXT) \
unzip.$(OBJEXT)
@HAVE_WINDRES_FALSE@am_bygfoot_OBJECTS = $(am__objects_1)
@HAVE_WINDRES_TRUE@am_bygfoot_OBJECTS = $(am__objects_1) \
@HAVE_WINDRES_TRUE@ bygfoot_private.$(OBJEXT)
bygfoot_OBJECTS = $(am_bygfoot_OBJECTS)
am__DEPENDENCIES_1 =
bygfoot_DEPENDENCIES = $(am__DEPENDENCIES_1)
bygfoot_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@ -100,7 +150,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
SOURCES = $(bygfoot_SOURCES)
DIST_SOURCES = $(bygfoot_SOURCES)
DIST_SOURCES = $(am__bygfoot_SOURCES_DIST)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@ -197,6 +247,7 @@ USE_NLS = @USE_NLS@
VERSION = @VERSION@
WINDRES = @WINDRES@
XGETTEXT = @XGETTEXT@
ZLIB_LIBS = @ZLIB_LIBS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
@ -254,7 +305,7 @@ INCLUDES = -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@PACKAGE_CFLAGS@ @GST_CFLAGS@
bygfoot_SOURCES = \
SOURCE_FILES = \
bet.c bet.h finance.h fixture.h game_gui.h league.h main.h maths.h misc.h option.h player.h support.h treeview2.h user.h \
callback_func.c bet.h callback_func.h callbacks.h cup.h finance.h fixture.h game_gui.h gui.h league.h live_game.h maths.h misc.h option.h player.h start_end.h team.h transfer.h treeview.h treeview_helper.h user.h window.h \
callbacks.c callback_func.h callbacks.h debug.h fixture.h free.h game_gui.h game.h gui.h job.h league.h load_save.h main.h misc2_callback_func.h option.h player.h table.h team.h transfer.h treeview2.h treeview.h treeview_helper.h user.h window.h \
@ -336,9 +387,9 @@ bygfoot_SOURCES = \
zip/zip.c zip/zip.h \
zip/unzip.c zip/unzip.h
@HAVE_WINDRES_FALSE@@PROGRAM_PREFIX@doom_SOURCES = $(SOURCE_FILES)
@HAVE_WINDRES_TRUE@@PROGRAM_PREFIX@doom_SOURCES = $(SOURCE_FILES) resource.rc
bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(INTLLIBS)
@HAVE_WINDRES_FALSE@bygfoot_SOURCES = $(SOURCE_FILES)
@HAVE_WINDRES_TRUE@bygfoot_SOURCES = $(SOURCE_FILES) bygfoot_private.rc
bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(ZLIB_LIBS) $(INTLLIBS)
all: all-am
.SUFFIXES:

View File

@ -48,8 +48,8 @@
/**
* Program version number and year (copyright).
*/
#define VERS "2.3.2"
#define YEAR "2005 - 2009"
#define VERS "2.3.3"
#define YEAR "2005 - 2011"
/** Home dir name */
//#define HOMEDIRNAME ".bygfoot-cvs"

View File

@ -2,10 +2,10 @@
#define BYGFOOT_PRIVATE_H
/* VERSION DEFINITIONS */
#define VER_STRING "2.3.2"
#define VER_STRING "2.3.3"
#define VER_MAJOR 2
#define VER_MINOR 3
#define VER_RELEASE 2
#define VER_RELEASE 3
#define VER_BUILD 0
#define COMPANY_NAME ""
#define FILE_VERSION ""

View File

@ -54,7 +54,7 @@
******************************************** TOOLBAR CALLBACKS *********************************************
***********************************************************************************************************/
gboolean
G_MODULE_EXPORT gboolean
on_button_quit_clicked (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -69,7 +69,7 @@ on_button_quit_clicked (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_eventbox_style_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -106,7 +106,7 @@ on_eventbox_style_button_press_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_eventbox_boost_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -145,7 +145,7 @@ on_eventbox_boost_button_press_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_button_load_clicked (GtkButton *button,
gpointer user_data)
{
@ -157,7 +157,7 @@ on_button_load_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_save_clicked (GtkButton *button,
gpointer user_data)
{
@ -169,7 +169,7 @@ on_button_save_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_back_to_main_clicked (GtkButton *button,
gpointer user_data)
{
@ -194,7 +194,7 @@ on_button_back_to_main_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_transfers_clicked (GtkButton *button,
gpointer user_data)
{
@ -227,7 +227,7 @@ on_button_transfers_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_new_week_clicked (GtkButton *button,
gpointer user_data)
{
@ -259,7 +259,7 @@ on_button_new_week_clicked (GtkButton *button,
******************************************** ARROW BUTTON CALLBACKS ****************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_button_browse_forward_clicked (GtkButton *button,
gpointer user_data)
{
@ -289,7 +289,7 @@ on_button_browse_forward_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_browse_back_clicked (GtkButton *button,
gpointer user_data)
{
@ -318,7 +318,7 @@ on_button_browse_back_clicked (GtkButton *button,
}
}
void
G_MODULE_EXPORT void
on_button_cl_back_clicked (GtkButton *button,
gpointer user_data)
{
@ -349,7 +349,7 @@ on_button_cl_back_clicked (GtkButton *button,
}
}
void
G_MODULE_EXPORT void
on_button_cl_forward_clicked (GtkButton *button,
gpointer user_data)
{
@ -384,7 +384,7 @@ on_button_cl_forward_clicked (GtkButton *button,
******************************************** TREEVIEW CALLBACKS ********************************************
***********************************************************************************************************/
gboolean
G_MODULE_EXPORT gboolean
on_treeview_right_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -489,7 +489,7 @@ on_treeview_right_button_press_event (GtkWidget *widget,
return TRUE;
}
gboolean
G_MODULE_EXPORT gboolean
on_player_list1_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -526,7 +526,7 @@ on_player_list1_button_press_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_player_list1_key_press_event (GtkWidget *widget,
GdkEventKey *event,
gpointer user_data)
@ -557,7 +557,7 @@ on_player_list1_key_press_event (GtkWidget *widget,
******************************************** FILE MENU CALLBACKS *******************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_load_last_save_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -573,7 +573,7 @@ on_menu_load_last_save_activate (GtkMenuItem *menuitem,
}
}
void
G_MODULE_EXPORT void
on_menu_new_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -591,7 +591,7 @@ on_menu_new_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_open_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -604,7 +604,7 @@ on_menu_open_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_save_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -620,7 +620,7 @@ on_menu_save_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_save_as_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -632,7 +632,7 @@ on_menu_save_as_activate (GtkMenuItem *menuitem,
window_show_file_sel();
}
void
G_MODULE_EXPORT void
on_menu_quit_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -654,7 +654,7 @@ on_menu_quit_activate (GtkMenuItem *menuitem,
******************************************** PREFERENCES MENU CALLBACKS ************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_save_window_geometry_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -665,7 +665,7 @@ on_menu_save_window_geometry_activate (GtkMenuItem *menuitem,
window_main_save_geometry();
}
gboolean
G_MODULE_EXPORT gboolean
on_menu_check_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -681,7 +681,7 @@ on_menu_check_button_press_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_menu_preferences_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -696,7 +696,7 @@ on_menu_preferences_activate (GtkMenuItem *menuitem,
******************************************** FIGURES CALLBACKS *********************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_fixtures_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -713,7 +713,7 @@ on_menu_fixtures_activate (GtkMenuItem *menuitem,
gui_set_arrows();
}
void
G_MODULE_EXPORT void
on_menu_fixtures_week_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -728,7 +728,7 @@ on_menu_fixtures_week_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_tables_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -755,7 +755,7 @@ on_menu_tables_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_league_stats_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -777,7 +777,7 @@ on_menu_league_stats_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_season_history_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -803,7 +803,7 @@ on_menu_season_history_activate (GtkMenuItem *menuitem,
******************************************** TEAM MENU CALLBACKS *******************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_show_youth_academy_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -822,7 +822,7 @@ on_menu_show_youth_academy_activate (GtkMenuItem *menuitem,
stat0 = STATUS_SHOW_YA;
}
void
G_MODULE_EXPORT void
on_menu_set_investment_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -843,7 +843,7 @@ on_menu_set_investment_activate (GtkMenuItem *menuitem,
NULL, -1, "%", current_user.youth_academy.percentage, FALSE);
}
void
G_MODULE_EXPORT void
on_menu_show_job_exchange_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -864,7 +864,7 @@ on_menu_show_job_exchange_activate (GtkMenuItem *menuitem,
const_int("int_job_update_interval"));
}
void
G_MODULE_EXPORT void
on_default_team1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -872,7 +872,7 @@ on_default_team1_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_default_team_store_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -883,7 +883,7 @@ store_default_team(&current_user);
}
void
G_MODULE_EXPORT void
on_default_team_restore_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -901,7 +901,7 @@ on_default_team_restore_activate (GtkMenuItem *menuitem,
treeview_show_user_player_list();
}
void
G_MODULE_EXPORT void
on_training_camp_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -933,7 +933,7 @@ on_training_camp_activate (GtkMenuItem *menuitem,
window_show_training_camp();
}
void
G_MODULE_EXPORT void
on_menu_rearrange_team_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -945,7 +945,7 @@ on_menu_rearrange_team_activate (GtkMenuItem *menuitem,
treeview_show_user_player_list();
}
gboolean
G_MODULE_EXPORT gboolean
on_menu_team_button_release_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -960,7 +960,7 @@ on_menu_team_button_release_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_menu_custom_structure_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -973,7 +973,7 @@ on_menu_custom_structure_activate (GtkMenuItem *menuitem,
NULL, -1, _("Structure"), current_user.tm->structure, FALSE);
}
void
G_MODULE_EXPORT void
on_menu_browse_teams_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -995,7 +995,7 @@ on_menu_browse_teams_activate (GtkMenuItem *menuitem,
******************************************** PLAYER MENU CALLBACKS *****************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_edit_name_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1027,7 +1027,7 @@ on_menu_edit_name_activate (GtkMenuItem *menuitem,
setsav0;
}
void
G_MODULE_EXPORT void
on_menu_browse_players_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1041,7 +1041,7 @@ on_menu_browse_players_activate (GtkMenuItem *menuitem,
gui_set_arrows();
}
void
G_MODULE_EXPORT void
on_menu_offer_new_contract_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1067,7 +1067,7 @@ on_menu_offer_new_contract_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_show_info_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1088,7 +1088,7 @@ on_menu_show_info_activate (GtkMenuItem *menuitem,
gui_set_arrows();
}
void
G_MODULE_EXPORT void
on_menu_put_on_transfer_list_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1110,7 +1110,7 @@ on_menu_put_on_transfer_list_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_remove_from_transfer_list_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1130,7 +1130,7 @@ on_menu_remove_from_transfer_list_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_fire_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1150,7 +1150,7 @@ on_menu_fire_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_shoots_penalties_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1180,7 +1180,7 @@ on_menu_shoots_penalties_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_move_to_youth_academy_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1227,14 +1227,14 @@ on_menu_move_to_youth_academy_activate (GtkMenuItem *menuitem,
void
G_MODULE_EXPORT void
on_player_menu_edit_name_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
on_menu_edit_name_activate(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_player_menu_show_info_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1245,7 +1245,7 @@ on_player_menu_show_info_activate (GtkMenuItem *menuitem,
on_menu_show_info_activate(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_player_menu_put_on_transfer_list_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1258,7 +1258,7 @@ on_player_menu_put_on_transfer_list_activate
}
void
G_MODULE_EXPORT void
on_player_menu_remove_from_transfer_list_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1271,7 +1271,7 @@ on_player_menu_remove_from_transfer_list_activate
}
void
G_MODULE_EXPORT void
on_player_menu_offer_new_contract_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1284,7 +1284,7 @@ on_player_menu_offer_new_contract_activate
}
void
G_MODULE_EXPORT void
on_player_menu_fire_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1296,7 +1296,7 @@ on_player_menu_fire_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_player_menu_shoots_penalties_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1308,7 +1308,7 @@ on_player_menu_shoots_penalties_activate
on_menu_shoots_penalties_activate(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_player_menu_move_to_youth_academy_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1324,7 +1324,7 @@ on_player_menu_move_to_youth_academy_activate
******************************************** YOUTH CONTEXT MENU CALLBACKS **********************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_youth_move_to_team_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1352,7 +1352,7 @@ on_menu_youth_move_to_team_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_youth_kick_out_of_academy_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1379,7 +1379,7 @@ on_menu_youth_kick_out_of_academy_activate
******************************************** USER MENU CALLBACKS *******************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_next_user_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1400,7 +1400,7 @@ on_menu_next_user_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_previous_user_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1420,7 +1420,7 @@ on_menu_previous_user_activate (GtkMenuItem *menuitem,
on_button_back_to_main_clicked(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_menu_manage_users_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1436,7 +1436,7 @@ on_menu_manage_users_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_user_show_last_match_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1456,7 +1456,7 @@ on_menu_user_show_last_match_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_user_show_last_stats_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1477,7 +1477,7 @@ on_menu_user_show_last_stats_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_user_show_coming_matches_activate
(GtkMenuItem *menuitem,
gpointer user_data)
@ -1497,7 +1497,7 @@ on_menu_user_show_coming_matches_activate
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_betting_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1509,7 +1509,7 @@ on_menu_betting_activate (GtkMenuItem *menuitem,
window_show_bets();
}
void
G_MODULE_EXPORT void
on_automatic_loan_repayment_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1537,7 +1537,7 @@ on_automatic_loan_repayment_activate (GtkMenuItem *menuitem,
window_show_alr();
}
void
G_MODULE_EXPORT void
on_menu_show_finances_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1560,7 +1560,7 @@ on_menu_show_finances_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_show_stadium_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1582,7 +1582,7 @@ on_menu_show_stadium_activate (GtkMenuItem *menuitem,
******************************************** STATS MENU CALLBACKS ******************************************
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_user_show_history_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1596,7 +1596,7 @@ on_menu_user_show_history_activate (GtkMenuItem *menuitem,
gui_set_arrows();
}
void
G_MODULE_EXPORT void
on_mm_add_last_match_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1620,7 +1620,7 @@ on_mm_add_last_match_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_mm_manage_matches_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1638,7 +1638,7 @@ on_mm_manage_matches_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_news_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1647,7 +1647,7 @@ on_menu_news_activate (GtkMenuItem *menuitem,
counters[COUNT_NEWS_SHOWN] = 1;
}
void
G_MODULE_EXPORT void
on_menu_my_league_results_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1663,7 +1663,7 @@ on_menu_my_league_results_activate (GtkMenuItem *menuitem,
void
G_MODULE_EXPORT void
on_menu_season_results_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1681,7 +1681,7 @@ on_menu_season_results_activate (GtkMenuItem *menuitem,
***********************************************************************************************************/
void
G_MODULE_EXPORT void
on_menu_help_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1693,7 +1693,7 @@ on_menu_help_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_contributors_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1705,7 +1705,7 @@ on_menu_contributors_activate (GtkMenuItem *menuitem,
}
void
G_MODULE_EXPORT void
on_menu_about_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
@ -1720,7 +1720,7 @@ on_menu_about_activate (GtkMenuItem *menuitem,
******************************************** MISCELLANEOUS CALLBACKS ***************************************
***********************************************************************************************************/
gboolean
G_MODULE_EXPORT gboolean
on_hpaned2_button_release_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -1735,7 +1735,7 @@ on_hpaned2_button_release_event (GtkWidget *widget,
return FALSE;
}
gboolean
G_MODULE_EXPORT gboolean
on_button_quit_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -1758,7 +1758,7 @@ on_button_quit_button_press_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_button_reset_players_clicked (GtkButton *button,
gpointer user_data)
{
@ -1770,7 +1770,7 @@ on_button_reset_players_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_menu_reset_players_activate (GtkMenuItem *menuitem,
gpointer user_data)
{

View File

@ -8,7 +8,7 @@
#include "support.h"
gboolean
G_MODULE_EXPORT gboolean
on_window_league_table_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -22,7 +22,7 @@ on_window_league_table_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_lt_b_ok_clicked (GtkButton *button,
gpointer user_data)
{

View File

@ -47,7 +47,7 @@
#include "user.h"
#include "window.h"
void
G_MODULE_EXPORT void
on_button_offer_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -86,7 +86,7 @@ on_button_offer_ok_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_offer_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -116,7 +116,7 @@ on_button_offer_cancel_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_button_warning_clicked (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -134,7 +134,7 @@ on_button_warning_clicked (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_digits_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -190,7 +190,7 @@ on_button_digits_ok_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_digits_alr_clicked (GtkButton *button,
gpointer user_data)
{
@ -202,7 +202,7 @@ on_button_digits_alr_clicked (GtkButton *button,
on_automatic_loan_repayment_activate(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_button_digits_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -213,7 +213,7 @@ on_button_digits_cancel_clicked (GtkButton *button,
window_destroy(&window.digits);
}
gboolean
G_MODULE_EXPORT gboolean
on_window_yesno_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -230,7 +230,7 @@ on_window_yesno_delete_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_button_yesno_yes_clicked (GtkButton *button,
gpointer user_data)
{
@ -291,7 +291,7 @@ on_button_yesno_yes_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_yesno_no_clicked (GtkButton *button,
gpointer user_data)
{
@ -306,7 +306,7 @@ on_button_yesno_no_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_contract_offer_clicked (GtkButton *button,
gpointer user_data)
{
@ -317,7 +317,7 @@ on_button_contract_offer_clicked (GtkButton *button,
misc2_callback_contract_offer();
}
void
G_MODULE_EXPORT void
on_button_contract_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -329,7 +329,7 @@ on_button_contract_cancel_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_contract_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -346,7 +346,7 @@ on_window_contract_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_entry_user_management_activate (GtkEntry *entry,
gpointer user_data)
{
@ -358,7 +358,7 @@ on_entry_user_management_activate (GtkEntry *entry,
}
void
G_MODULE_EXPORT void
on_button_user_management_add_clicked (GtkButton *button,
gpointer user_data)
{
@ -370,7 +370,7 @@ on_button_user_management_add_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_user_management_close_clicked
(GtkButton *button,
gpointer user_data)
@ -384,7 +384,7 @@ on_button_user_management_close_clicked
}
gboolean
G_MODULE_EXPORT gboolean
on_treeview_user_management_users_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -415,7 +415,7 @@ on_treeview_user_management_users_button_press_event
return FALSE;
}
void
G_MODULE_EXPORT void
on_treeview_user_management_teams_row_activated
(GtkTreeView *treeview,
GtkTreePath *path,
@ -429,7 +429,7 @@ on_treeview_user_management_teams_row_activated
on_button_user_management_add_clicked(NULL, NULL);
}
gboolean
G_MODULE_EXPORT gboolean
on_window_debug_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -444,7 +444,7 @@ on_window_debug_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_debug_apply_clicked (GtkButton *button,
gpointer user_data)
{
@ -462,7 +462,7 @@ on_button_debug_apply_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_debug_close_activate (GtkButton *button,
gpointer user_data)
{
@ -474,7 +474,7 @@ on_button_debug_close_activate (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_entry_debug_activate (GtkEntry *entry,
gpointer user_data)
{
@ -486,7 +486,7 @@ on_entry_debug_activate (GtkEntry *entry,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_job_offer_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -500,7 +500,7 @@ on_window_job_offer_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_digits_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -515,7 +515,7 @@ on_window_digits_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_user_management_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -529,7 +529,7 @@ on_window_user_management_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_help_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -544,7 +544,7 @@ on_window_help_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_help_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -555,7 +555,7 @@ on_button_help_close_clicked (GtkButton *button,
window_destroy(&window.help);
}
void
G_MODULE_EXPORT void
on_spinbutton1_activate (GtkEntry *entry,
gpointer user_data)
{
@ -568,7 +568,7 @@ on_spinbutton1_activate (GtkEntry *entry,
}
void
G_MODULE_EXPORT void
on_spinbutton2_activate (GtkEntry *entry,
gpointer user_data)
{
@ -581,7 +581,7 @@ on_spinbutton2_activate (GtkEntry *entry,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_transfer_dialog_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -595,7 +595,7 @@ on_window_transfer_dialog_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_transfer_yes_clicked (GtkButton *button,
gpointer user_data)
{
@ -612,7 +612,7 @@ on_button_transfer_yes_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_transfer_no_clicked (GtkButton *button,
gpointer user_data)
{
@ -640,7 +640,7 @@ on_button_transfer_no_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_transfer_later_clicked (GtkButton *button,
gpointer user_data)
{
@ -651,7 +651,7 @@ on_button_transfer_later_clicked (GtkButton *button,
window_destroy(&window.transfer_dialog);
}
gboolean
G_MODULE_EXPORT gboolean
on_window_mmatches_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -666,7 +666,7 @@ on_window_mmatches_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_treeview_mmatches_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -701,7 +701,7 @@ on_treeview_mmatches_button_press_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_mm_save_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -720,7 +720,7 @@ on_button_mm_save_close_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_mm_add_clicked (GtkButton *button,
gpointer user_data)
{
@ -739,7 +739,7 @@ on_button_mm_add_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_mm_file_clicked (GtkButton *button,
gpointer user_data)
{
@ -752,7 +752,7 @@ on_button_mm_file_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_mm_reload_clicked (GtkButton *button,
gpointer user_data)
{
@ -770,7 +770,7 @@ on_button_mm_reload_clicked (GtkButton *button,
gtk_widget_show(treeview);
}
void
G_MODULE_EXPORT void
on_button_mm_reload_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -782,7 +782,7 @@ on_button_mm_reload_close_clicked (GtkButton *button,
on_button_mm_save_close_clicked(NULL, NULL);
}
void
G_MODULE_EXPORT void
on_button_mm_import_clicked (GtkButton *button,
gpointer user_data)
{

View File

@ -41,7 +41,7 @@
#include "variables.h"
#include "window.h"
gboolean
G_MODULE_EXPORT gboolean
on_window_bets_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -55,7 +55,7 @@ on_window_bets_delete_event (GtkWidget *widget,
return TRUE;
}
void
G_MODULE_EXPORT void
on_button_bet_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -66,7 +66,7 @@ on_button_bet_close_clicked (GtkButton *button,
window_destroy(&window.bets);
}
gboolean
G_MODULE_EXPORT gboolean
on_checkbutton_bet_all_leagues_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -85,7 +85,7 @@ on_checkbutton_bet_all_leagues_button_press_event
}
gboolean
G_MODULE_EXPORT gboolean
on_checkbutton_bet_cups_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -104,7 +104,7 @@ on_checkbutton_bet_cups_button_press_event
}
gboolean
G_MODULE_EXPORT gboolean
on_treeview_bets_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -170,7 +170,7 @@ on_treeview_bets_button_press_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_checkbutton_bet_user_recent_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -188,7 +188,7 @@ on_checkbutton_bet_user_recent_button_press_event
return FALSE;
}
gboolean
G_MODULE_EXPORT gboolean
on_window_splash_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -202,7 +202,7 @@ on_window_splash_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_splash_new_game_clicked (GtkButton *button,
gpointer user_data)
{
@ -218,7 +218,7 @@ on_button_splash_new_game_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_splash_load_game_clicked (GtkButton *button,
gpointer user_data)
{
@ -231,7 +231,7 @@ on_button_splash_load_game_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_splash_resume_game_clicked (GtkButton *button,
gpointer user_data)
{
@ -243,7 +243,7 @@ on_button_splash_resume_game_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_splash_quit_clicked (GtkButton *button,
gpointer user_data)
{
@ -256,7 +256,7 @@ on_button_splash_quit_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_splash_hint_back_clicked (GtkButton *button,
gpointer user_data)
{
@ -271,7 +271,7 @@ on_button_splash_hint_back_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_splash_hint_next_clicked (GtkButton *button,
gpointer user_data)
{
@ -286,7 +286,7 @@ on_button_splash_hint_next_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_calculate_start_week_clicked (GtkButton *button,
gpointer user_data)
{
@ -304,7 +304,7 @@ on_button_calculate_start_week_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_calculate_installment_clicked
(GtkButton *button,
gpointer user_data)
@ -323,7 +323,7 @@ on_button_calculate_installment_clicked
}
void
G_MODULE_EXPORT void
on_button_alr_confirm_clicked (GtkButton *button,
gpointer user_data)
{
@ -345,7 +345,7 @@ on_button_alr_confirm_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_alr_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -356,7 +356,7 @@ on_button_alr_cancel_clicked (GtkButton *button,
window_destroy(&window.alr);
}
gboolean
G_MODULE_EXPORT gboolean
on_window_alr_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -371,7 +371,7 @@ on_window_alr_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_news_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -381,7 +381,7 @@ on_window_news_delete_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_news_destroy_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -391,7 +391,7 @@ on_window_news_destroy_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_news_close_clicked (GtkButton *button,
gpointer user_data)
{

View File

@ -40,7 +40,7 @@
#include "window.h"
#include "xml_country.h"
void
G_MODULE_EXPORT void
on_button_add_player_clicked (GtkButton *button,
gpointer user_data)
{
@ -52,7 +52,7 @@ on_button_add_player_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_entry_player_name_activate (GtkEntry *entry,
gpointer user_data)
{
@ -64,7 +64,7 @@ on_entry_player_name_activate (GtkEntry *entry,
}
void
G_MODULE_EXPORT void
on_team_selection_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -75,7 +75,7 @@ on_team_selection_ok_clicked (GtkButton *button,
misc_callback_start_game();
}
void
G_MODULE_EXPORT void
on_team_selection_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -86,7 +86,7 @@ on_team_selection_cancel_clicked (GtkButton *button,
main_exit_program(EXIT_OK, NULL);
}
gboolean
G_MODULE_EXPORT gboolean
on_button_font_sel_cancel_clicked (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -101,7 +101,7 @@ on_button_font_sel_cancel_clicked (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_font_sel_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -122,7 +122,7 @@ on_button_font_sel_ok_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_font_sel_apply_clicked (GtkButton *button,
gpointer user_data)
{
@ -147,7 +147,7 @@ on_button_font_sel_apply_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_live_window_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -166,7 +166,7 @@ on_live_window_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_live_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -187,7 +187,7 @@ on_button_live_close_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_pause_clicked (GtkButton *button,
gpointer user_data)
{
@ -199,7 +199,7 @@ on_button_pause_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_resume_clicked (GtkButton *button,
gpointer user_data)
{
@ -232,7 +232,7 @@ on_button_resume_clicked (GtkButton *button,
game_gui_show_warning(_("There were too many substitutions. Only 3 per game are allowed. Player list reset."));
}
void
G_MODULE_EXPORT void
on_spinbutton_speed_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)
{
@ -245,7 +245,7 @@ on_spinbutton_speed_value_changed (GtkSpinButton *spinbutton,
}
void
G_MODULE_EXPORT void
on_spinbutton_verbosity_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)
{
@ -258,7 +258,7 @@ on_spinbutton_verbosity_value_changed (GtkSpinButton *spinbutton,
}
gboolean
G_MODULE_EXPORT gboolean
on_treeview_users_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -272,7 +272,7 @@ on_treeview_users_button_press_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_spinbutton_capacity_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)
{
@ -284,7 +284,7 @@ on_spinbutton_capacity_value_changed (GtkSpinButton *spinbutton,
}
void
G_MODULE_EXPORT void
on_spinbutton_safety_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)
{
@ -296,7 +296,7 @@ on_spinbutton_safety_value_changed (GtkSpinButton *spinbutton,
}
void
G_MODULE_EXPORT void
on_button_stadium_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -311,7 +311,7 @@ on_button_stadium_ok_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_stadium_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -323,7 +323,7 @@ on_button_stadium_cancel_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_spinbutton_capacity_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -341,7 +341,7 @@ on_spinbutton_capacity_button_press_event (GtkWidget *widget,
return FALSE;
}
gboolean
G_MODULE_EXPORT gboolean
on_window_stadium_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -355,7 +355,7 @@ on_window_stadium_delete_event (GtkWidget *widget,
return TRUE;
}
void
G_MODULE_EXPORT void
on_combo_country_changed (GtkComboBox *combobox,
gpointer user_data)
{
@ -379,7 +379,7 @@ on_combo_country_changed (GtkComboBox *combobox,
g_free(buf);
}
gboolean
G_MODULE_EXPORT gboolean
on_spinbutton_speed_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -414,7 +414,7 @@ on_spinbutton_speed_button_press_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_sponsors_clicked (GtkButton *button,
gpointer user_data)
{
@ -428,7 +428,7 @@ on_button_sponsors_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_treeview_sponsors_row_activated (GtkTreeView *treeview,
GtkTreePath *path,
GtkTreeViewColumn *column,
@ -442,7 +442,7 @@ on_treeview_sponsors_row_activated (GtkTreeView *treeview,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_sponsors_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -455,7 +455,7 @@ on_window_sponsors_delete_event (GtkWidget *widget,
return TRUE;
}
void
G_MODULE_EXPORT void
on_button_sponsors_wait_clicked (GtkButton *button,
gpointer user_data)
{
@ -478,7 +478,7 @@ on_button_sponsors_wait_clicked (GtkButton *button,
window_destroy(&window.sponsors);
}
gboolean
G_MODULE_EXPORT gboolean
on_eventbox_lg_style_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -523,7 +523,7 @@ on_eventbox_lg_style_button_press_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_eventbox_lg_boost_button_press_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
@ -573,7 +573,7 @@ on_eventbox_lg_boost_button_press_event (GtkWidget *widget,
return FALSE;
}
void
G_MODULE_EXPORT void
on_button_team_selection_back_clicked (GtkButton *button,
gpointer user_data)
{

View File

@ -35,7 +35,7 @@
#include "variables.h"
#include "window.h"
void
G_MODULE_EXPORT void
on_button_options_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -74,7 +74,7 @@ on_button_options_ok_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_options_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -86,7 +86,7 @@ on_button_options_cancel_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_font_name_clicked (GtkButton *button,
gpointer user_data)
{
@ -98,7 +98,7 @@ on_button_font_name_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_reload_constants_clicked (GtkButton *button,
gpointer user_data)
{
@ -113,7 +113,7 @@ on_button_reload_constants_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_checkbutton_save_global_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -138,7 +138,7 @@ on_checkbutton_save_global_button_press_event
}
gboolean
G_MODULE_EXPORT gboolean
on_checkbutton_save_user_button_press_event
(GtkWidget *widget,
GdkEventButton *event,
@ -160,7 +160,7 @@ on_checkbutton_save_user_button_press_event
}
gboolean
G_MODULE_EXPORT gboolean
on_window_options_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -175,7 +175,7 @@ on_window_options_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_spinbutton_recreation_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)
{
@ -190,7 +190,7 @@ on_spinbutton_recreation_value_changed (GtkSpinButton *spinbutton,
gtk_label_set_text(GTK_LABEL(lookup_widget(window.options, "label_training")), buf);
}
void
G_MODULE_EXPORT void
on_button_edit_constants_clicked (GtkButton *button,
gpointer user_data)
{
@ -198,7 +198,7 @@ on_button_edit_constants_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_constants_destroy_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -208,7 +208,7 @@ on_window_constants_destroy_event (GtkWidget *widget,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_constants_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@ -218,7 +218,7 @@ on_window_constants_delete_event (GtkWidget *widget,
}
void
G_MODULE_EXPORT void
on_button_constants_reload_clicked (GtkButton *button,
gpointer user_data)
{
@ -234,7 +234,7 @@ on_button_constants_reload_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_constants_close_clicked (GtkButton *button,
gpointer user_data)
{
@ -242,7 +242,7 @@ on_button_constants_close_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_button_constants_save_clicked (GtkButton *button,
gpointer user_data)
{

View File

@ -44,7 +44,7 @@
#include "variables.h"
#include "window.h"
void
G_MODULE_EXPORT void
on_b_cancel_clicked (GtkButton *button,
gpointer user_data)
{
@ -55,7 +55,7 @@ on_b_cancel_clicked (GtkButton *button,
window_destroy(&window.training_camp);
}
void
G_MODULE_EXPORT void
on_b_ok_clicked (GtkButton *button,
gpointer user_data)
{
@ -122,7 +122,7 @@ on_b_ok_clicked (GtkButton *button,
current_user.counters[COUNT_USER_TRAININGS_LEFT_SEASON]);
}
void
G_MODULE_EXPORT void
on_rb_camp3_clicked (GtkButton *button,
gpointer user_data)
{
@ -141,7 +141,7 @@ on_rb_camp3_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_rb_camp2_clicked (GtkButton *button,
gpointer user_data)
{
@ -160,7 +160,7 @@ on_rb_camp2_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_rb_camp1_clicked (GtkButton *button,
gpointer user_data)
{
@ -178,7 +178,7 @@ on_rb_camp1_clicked (GtkButton *button,
gtk_entry_set_text (tfCosts, buf);
}
void
G_MODULE_EXPORT void
on_b_dec_recreation_clicked (GtkButton *button,
gpointer user_data)
{
@ -206,7 +206,7 @@ on_b_dec_recreation_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_b_inc_recreation_clicked (GtkButton *button,
gpointer user_data)
{
@ -234,7 +234,7 @@ on_b_inc_recreation_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_b_dec_training_clicked (GtkButton *button,
gpointer user_data)
{
@ -262,7 +262,7 @@ on_b_dec_training_clicked (GtkButton *button,
}
void
G_MODULE_EXPORT void
on_b_inc_training_clicked (GtkButton *button,
gpointer user_data)
{
@ -290,7 +290,7 @@ on_b_inc_training_clicked (GtkButton *button,
}
gboolean
G_MODULE_EXPORT gboolean
on_window_training_camp_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)

View File

@ -159,6 +159,7 @@ USE_NLS = @USE_NLS@
VERSION = @VERSION@
WINDRES = @WINDRES@
XGETTEXT = @XGETTEXT@
ZLIB_LIBS = @ZLIB_LIBS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@