X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fhistogram%2Fhistocfv.c;h=bf9ef33309786679e14ed34057be9b5f6c1d708b;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=80c5c5ac2164b1532dfa4833a23ed517b05b6fae;hpb=f61f4dca50e13aa52b1ca3941c8f420848f4353f;p=lttv.git diff --git a/lttv/modules/gui/histogram/histocfv.c b/lttv/modules/gui/histogram/histocfv.c index 80c5c5ac..bf9ef333 100644 --- a/lttv/modules/gui/histogram/histocfv.c +++ b/lttv/modules/gui/histogram/histocfv.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -25,6 +25,7 @@ #include #include #include +#include #include "histocfv.h" #include "histodrawing.h" @@ -35,20 +36,6 @@ extern GSList *g_histo_control_flow_data_list; -static gboolean -header_size_allocate(GtkWidget *widget, - GtkAllocation *allocation, - gpointer user_data) -{ - histoDrawing_t *drawing = (histoDrawing_t*)user_data; - - gtk_widget_set_size_request(drawing->ruler, -1, allocation->height); - //gtk_widget_queue_resize(drawing->padding); - //gtk_widget_queue_resize(drawing->ruler); - gtk_container_check_resize(GTK_CONTAINER(drawing->ruler_hbox)); - return 0; -} - /***************************************************************************** * Histo Control Flow Viewer class implementation * @@ -65,7 +52,6 @@ HistoControlFlowData * guihistocontrolflow(LttvPluginTab *ptab) { GtkWidget *button_widget, *drawing_widget, *drawing_area; - GtkWidget *buttonP,*buttonM; histoDrawing_t *drawing; HistoControlFlowData* histo_control_flow_data = g_new(HistoControlFlowData,1) ; @@ -97,8 +83,6 @@ guihistocontrolflow(LttvPluginTab *ptab) histo_control_flow_data->buttonwidget = histo_buttonwidget_construct(histo_control_flow_data); button_widget = histo_buttonwidget_get_widget( histo_control_flow_data-> buttonwidget); - buttonP =histo_control_flow_data-> buttonwidget->buttonP; - buttonM =histo_control_flow_data-> buttonwidget->buttonM; //set the size of ruler fix gtk_widget_set_size_request(histo_control_flow_data->drawing->ruler, -1, 25);