projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move "active" code out of debug statements
[lttv.git]
/
lttv
/
modules
/
gui
/
controlflow
/
drawitem.c
diff --git
a/lttv/modules/gui/controlflow/drawitem.c
b/lttv/modules/gui/controlflow/drawitem.c
index d97628b021f3b9abed37236c0693a612328662b5..cdeedda0ddfeb3ac47cb92580d598e05bb882d2b 100644
(file)
--- a/
lttv/modules/gui/controlflow/drawitem.c
+++ b/
lttv/modules/gui/controlflow/drawitem.c
@@
-214,6
+214,7
@@
gboolean draw_icon( void *hook_data, void *call_data)
{
PropertiesIcon *properties = (PropertiesIcon*)hook_data;
DrawContext *draw_context = (DrawContext*)call_data;
{
PropertiesIcon *properties = (PropertiesIcon*)hook_data;
DrawContext *draw_context = (DrawContext*)call_data;
+ gboolean retval;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvAttributeValue value;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvAttributeValue value;
@@
-222,8
+223,9
@@
gboolean draw_icon( void *hook_data, void *call_data)
strcat(icon_name, properties->icon_name);
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);
if(unlikely(*(value.v_pointer) == NULL))
{
*(value.v_pointer) = icon_info = g_new(IconStruct,1);
This page took
0.022769 seconds
and
4
git commands to generate.