projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
modules
/
gui
/
histogram
/
histodrawitem.c
diff --git
a/lttv/modules/gui/histogram/histodrawitem.c
b/lttv/modules/gui/histogram/histodrawitem.c
index aafa515d48849a87a08c2fb87a2a953bbeb1929b..c83e95fbd2dcf395c870699e1a92e983aeb80efa 100644
(file)
--- a/
lttv/modules/gui/histogram/histodrawitem.c
+++ b/
lttv/modules/gui/histogram/histodrawitem.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
*
* 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., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
*/
@@
-106,11
+106,11
@@
#include <lttv/iattribute.h>
#include <string.h>
#include <lttv/iattribute.h>
#include <string.h>
-#include <lttv/tracecontext.h>
#include <lttv/state.h>
#include <lttv/lttv.h>
#include "histodrawitem.h"
#include <lttv/state.h>
#include <lttv/lttv.h>
#include "histodrawitem.h"
+#include "histodrawing.h"
#define MAX_PATH_LEN 256
#define MAX_PATH_LEN 256
@@
-213,6
+213,7
@@
gboolean histo_draw_icon( void *hook_data, void *call_data)
{
histo_PropertiesIcon *properties = (histo_PropertiesIcon*)hook_data;
histo_DrawContext *draw_context = (histo_DrawContext*)call_data;
{
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;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvAttributeValue value;
@@
-221,8
+222,9
@@
gboolean histo_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(histo_IconStruct,1);
if(unlikely(*(value.v_pointer) == NULL))
{
*(value.v_pointer) = icon_info = g_new(histo_IconStruct,1);
This page took
0.02444 seconds
and
4
git commands to generate.