mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
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:
parent
fc6d621146
commit
c766e31e8f
@ -429,7 +429,7 @@ sweeper_game_reveal_cell (SweeperGame *self,
|
|||||||
sweeper_game_check_finished (self);
|
sweeper_game_check_finished (self);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
G_MODULE_EXPORT void
|
||||||
minesweeper_cell_clicked_cb (GtkGridView *gridview,
|
minesweeper_cell_clicked_cb (GtkGridView *gridview,
|
||||||
guint pos,
|
guint pos,
|
||||||
SweeperGame *game)
|
SweeperGame *game)
|
||||||
@ -437,7 +437,7 @@ minesweeper_cell_clicked_cb (GtkGridView *gridview,
|
|||||||
sweeper_game_reveal_cell (game, pos);
|
sweeper_game_reveal_cell (game, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
G_MODULE_EXPORT void
|
||||||
minesweeper_new_game_cb (GtkButton *button,
|
minesweeper_new_game_cb (GtkButton *button,
|
||||||
SweeperGame *game)
|
SweeperGame *game)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user