*
* 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.
*/
#include <lttv/iattribute.h>
#include <string.h>
-#include <lttv/tracecontext.h>
#include <lttv/state.h>
#include <lttv/lttv.h>
#include "histodrawitem.h"
+#include "histodrawing.h"
#define MAX_PATH_LEN 256
{
histo_PropertiesIcon *properties = (histo_PropertiesIcon*)hook_data;
histo_DrawContext *draw_context = (histo_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(histo_IconStruct,1);