Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
static __inline__ LttvAttributeValue
address_of_value(LttvAttributeType t, AttributeValue *v)
{
- LttvAttributeValue va;
+ LttvAttributeValue va = { NULL }; /* init to NULL for gcc */
switch(t) {
case LTTV_INT: va.v_int = &v->dv_int; break;
{
g_debug("Begin of chunk");
ControlFlowData *cfd = events_request->viewer_data;
- LttvTracesetContext *tsc = &tss->parent.parent;
+ LttvTracesetContext *tsc = &tss->parent;
//LttTime current_time = lttv_traceset_context_get_current_tfc(tsc)->timestamp;
guint i;
LttvTraceset *traceset = tsc->ts;
viewer_container = tab->viewer_container;
- viewer = (GtkWidget*)constructor(ptab);
+ viewer = (GtkWidget*)constructor(&ptab->parent);
if(viewer)
{
//gtk_multivpaned_widget_add(GTK_MULTIVPANED(multivpaned), viewer);
#include "eventhooks.h"
#include "resourceview_icon.xpm"
-#include "hLegendInsert.xpm"
+/* unused #include "hLegendInsert.xpm" */
GQuark LTT_NAME_CPU;