g_assert(lttv_iattribute_find_by_path(tab->attributes, "hooks/redraw", LTTV_POINTER, &value));
tmp = (LttvHooks*)*(value.v_pointer);
- g_assert(tmp != NULL);
-
- lttv_hooks_call(tmp,NULL);
+ if(tmp != NULL)
+ lttv_hooks_call(tmp,NULL);
}
"hooks/continue", LTTV_POINTER, &value));
tmp = (LttvHooks*)*(value.v_pointer);
- g_assert(tmp != NULL);
-
- lttv_hooks_call(tmp,NULL);
+ if(tmp != NULL)
+ lttv_hooks_call(tmp,NULL);
}
/* Stop the processing for the calling main window's current tab.
/* Manually added by Mathieu Desnoyers */
- tmp_toolbar_icon = create_pixmap (MWindow, "stock_redraw_24.png");
+ tmp_toolbar_icon = create_pixmap (MWindow, "stock_refresh_24.png");
tlbRedraw = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
GTK_TOOLBAR_CHILD_BUTTON,
NULL,