if(position < right_boundary &&
position > left_boundary &&
- mwindow->edl->local_session->view_start > 0)
+ mwindow->edl->local_session->view_start[pane->number] > 0)
{
int pixels = Units::to_int64((right_boundary - position) *
mwindow->edl->session->sample_rate /
int LoadModeListBox::handle_event()
{
- if(get_selection(0, 0) >= 0)
- {
- loadmode->textbox->update(get_selection(0, 0)->get_text());
- *(loadmode->output) = ((LoadModeItem*)get_selection(0, 0))->value;
+ LoadModeItem *item = (LoadModeItem *)get_selection(0, 0);
+ if( item ) {
+ loadmode->textbox->update(item->get_text());
+ *(loadmode->output) = item->value;
}
return 1;
}
+#ifdef HAVE_LV2
/*
* CINELERRA
lv2_update();
}
+#endif
int RenderProfileListBox::handle_event()
{
- if(get_selection(0, 0) >= 0)
- {
- renderprofile->textbox->update(get_selection(0, 0)->get_text());
- renderprofile->rwindow->load_profile(((RenderProfileItem*)get_selection(0, 0))->value);
+ RenderProfileItem *item = (RenderProfileItem *)get_selection(0, 0);
+ if( item ) {
+ renderprofile->textbox->update(item->get_text());
+ renderprofile->rwindow->load_profile(item->value);
}
return 1;
}
CFG_CFLAGS+=" -fno-omit-frame-pointer -fno-math-errno -fno-signed-zeros"
CFG_CFLAGS+=" -pthread -Wall"
# misguided pedantic warnings
+CFG_CFLAGS+=" -Wno-unknown-warning"
CFG_CFLAGS+=" -Wno-unused-result"
CFG_CFLAGS+=" -Wno-stringop-overflow"
CFG_CFLAGS+=" -Wno-format-truncation"
CFG_CFLAGS+=" -Wno-format-overflow"
+CFG_CFLAGS+=" -Wno-parentheses"
+CFG_CFLAGS+=" -Wno-stringop-truncation"
CFG_CFLAGS+=" -D__STDC_CONSTANT_MACROS"
CFG_CFLAGS+=" -D__STDC_LIMIT_MACROS"
CFG_CFLAGS+=" -DPNG_SKIP_SETJMP_CHECK=1"
$(BCXFER): bccmdl.py bcxfer.C bcxfer.h
python2.7 < ./bccmdl.py
- +make -C xfer
+ +$(MAKE) -C xfer
$(OUTPUT): $(OBJS) $(BCXFER)
ar rc $(OUTPUT) `cat $(OBJDIR)/objs` `ls -1 $(dir $(BCXFER))/xfer*.o`
clean:
rm -rf $(OBJDIR)
- make -C xfer clean
+ $(MAKE) -C xfer clean
install:
$(eval $(call waf-setup,lv2))
$(eval $(call waf-setup,serd))
$(eval $(call waf-setup,sord, serd))
-$(eval $(call waf-setup,sratom, serd sord))
+$(eval $(call waf-setup,sratom, serd sord lv2))
$(eval $(call waf-setup,lilv, lv2 sratom serd sord))
$(eval $(call waf-setup,suil, lv2))
$(call rules,$(call std-build,lv2))
$(call rules,$(call std-build,serd))
$(call rules,$(call std-build,sord, serd))
-$(call rules,$(call std-build,sratom, serd sord))
+$(call rules,$(call std-build,sratom, serd sord lv2))
$(call rules,$(call std-build,lilv, lv2 sratom serd sord))
$(call rules,$(call std-build,suil, lv2))