demos: Fix minesweeper demos on Windows

Make sure the callback functions in the .ui files are exported, so that
those functions can be recognized at runtime so that things run
properly.
This commit is contained in:
Chun-wei Fan 2020-09-07 16:28:48 +08:00
parent fc6d621146
commit c766e31e8f

View File

@ -429,7 +429,7 @@ sweeper_game_reveal_cell (SweeperGame *self,
sweeper_game_check_finished (self);
}
void
G_MODULE_EXPORT void
minesweeper_cell_clicked_cb (GtkGridView *gridview,
guint pos,
SweeperGame *game)
@ -437,7 +437,7 @@ minesweeper_cell_clicked_cb (GtkGridView *gridview,
sweeper_game_reveal_cell (game, pos);
}
void
G_MODULE_EXPORT void
minesweeper_new_game_cb (GtkButton *button,
SweeperGame *game)
{