]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / lyx_gui_misc.C
index f3a1bc01ce2a14c13a91d6d7401f4aa0ecf54252..0260d6d28268d68f4cc8e6a194620435976c01d8 100644 (file)
@@ -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;
 }
@@ -321,7 +321,7 @@ const char* flyx_shortcut_extract(const char*sc)
 
        if (sd[0]=='|') {
                sd++;
-               //fprintf(stderr, "%s\n", sd);
+               //lyxerr << sd << endl;
                return sd;
        }
        return "";