[SCM] calf/master: Clean up dead code and data.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:22 UTC 2013
The following commit has been merged in the master branch:
commit 7ee1a708dabe576bb8ea8e13cc32d07a310138d0
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sat Sep 18 14:47:36 2010 +0100
Clean up dead code and data.
diff --git a/src/calf/custom_ctl.h b/src/calf/custom_ctl.h
index 28dc0c6..87aab0b 100644
--- a/src/calf/custom_ctl.h
+++ b/src/calf/custom_ctl.h
@@ -116,7 +116,6 @@ struct CalfKnob
int knob_type;
int knob_size;
double start_x, start_y, last_y, start_value;
- double last_dz;
};
struct CalfKnobClass
diff --git a/src/custom_ctl.cpp b/src/custom_ctl.cpp
index cee78f4..497a481 100644
--- a/src/custom_ctl.cpp
+++ b/src/custom_ctl.cpp
@@ -37,16 +37,6 @@ calf_line_graph_copy_cache_to_window( CalfLineGraph *lg, cairo_t *c )
}
static void
-calf_line_graph_copy_window_to_cache( CalfLineGraph *lg, cairo_t *c )
-{
- cairo_t *cache_cr = cairo_create( lg->cache_surface );
- cairo_surface_t *window_surface = cairo_get_target( c );
- cairo_set_source_surface( cache_cr, window_surface, 0,0 );
- cairo_paint( cache_cr );
- cairo_destroy( cache_cr );
-}
-
-static void
calf_line_graph_draw_grid( cairo_t *c, std::string &legend, bool vertical, float pos, int phase, int sx, int sy )
{
int ox=5, oy=5;
@@ -1035,7 +1025,6 @@ calf_knob_init (CalfKnob *self)
GTK_WIDGET_SET_FLAGS (GTK_WIDGET(self), GTK_CAN_FOCUS);
widget->requisition.width = 40;
widget->requisition.height = 40;
- self->last_dz = -1.f;
}
GtkWidget *
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list