]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / insets / figinset.C
index 25c9f80ab3f0f23a84791d1a3c26e57e44660812..4fb1b106e0bdc3fea23fe85f1daae753b405f17a 100644 (file)
@@ -980,8 +980,7 @@ static void UnregisterFigure(InsetFig *fi)
                }
 #if FL_REVISION == 89
 #warning Reactivate this free_form calls
-#endif
-#if FL_REVISION != 89
+#else
                fl_free_form(tmpfig->inset->form->Figure);
                free(tmpfig->inset->form);
                tmpfig->inset->form = 0;
@@ -1931,8 +1930,7 @@ void InsetFig::CallbackFig(long arg)
                                fl_hide_form(form->Figure);
 #if FL_REVISION == 89
 #warning Reactivate this free_form calls
-#endif
-#if FL_REVISION != 89
+#else
                                fl_free_form(form->Figure);
                                free(form);
                                form = 0;
@@ -1949,8 +1947,7 @@ void InsetFig::CallbackFig(long arg)
                fl_hide_form(form->Figure);
 #if FL_REVISION == 89
 #warning Reactivate this free_form calls
-#endif
-#if FL_REVISION != 89
+#else
                fl_free_form(form->Figure);
                free(form);
                form = 0;