#include <lttv/attribute.h>
#include <lttv/iattribute.h>
#include <string.h>
-
+#ifdef BABEL_CLEANUP
#include <lttv/tracecontext.h>
+#endif //babel_cleanup
#include <lttv/state.h>
#include <lttv/lttv.h>
{
PropertiesIcon *properties = (PropertiesIcon*)hook_data;
DrawContext *draw_context = (DrawContext*)call_data;
+ gboolean retval;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvAttributeValue value;
strcat(icon_name, properties->icon_name);
- g_assert(lttv_iattribute_find_by_path(attributes, icon_name,
- LTTV_POINTER, &value));
+ retval= lttv_iattribute_find_by_path(attributes, icon_name, LTTV_POINTER,
+ &value);
+ g_assert(retval);
if(unlikely(*(value.v_pointer) == NULL))
{
*(value.v_pointer) = icon_info = g_new(IconStruct,1);