X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyx_gui_misc.C;h=0260d6d28268d68f4cc8e6a194620435976c01d8;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=ed3e07f4947a0beb9fb369feb833a13c906ef61b;hpb=35584afc1162dec2cf9fff79305e95cb3b75aefb;p=lyx.git diff --git a/src/lyx_gui_misc.C b/src/lyx_gui_misc.C index ed3e07f494..0260d6d282 100644 --- a/src/lyx_gui_misc.C +++ b/src/lyx_gui_misc.C @@ -70,14 +70,14 @@ extern void TocUpdateCB(); extern void HideFiguresPopups(); // Prevents LyX from being killed when the close box is pressed in a popup. -int CancelCloseBoxCB(FL_FORM *, void *) +extern "C" int CancelCloseBoxCB(FL_FORM *, void *) { return FL_CANCEL; } // Prevents LyX from being killed when the close box is pressed in a popup. -int IgnoreCloseBoxCB(FL_FORM *, void *) +extern "C" int IgnoreCloseBoxCB(FL_FORM *, void *) { return FL_IGNORE; }