Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
gtkhtml2
bnc-464064-table-goes-null.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-464064-table-goes-null.patch of Package gtkhtml2
Index: gtkhtml/htmlengine-edit-table.c =================================================================== --- gtkhtml/htmlengine-edit-table.c (revision 9106) +++ gtkhtml/htmlengine-edit-table.c (working copy) @@ -840,8 +840,12 @@ table_set_bg_color_undo_action (HTMLEngine *e, HTMLUndoData *undo_data, HTMLUndoDirection dir, guint position_after) { HTMLTableSetAttrUndo *data = (HTMLTableSetAttrUndo *) undo_data; + HTMLTable *table = html_engine_get_table (e); - table_set_bg_color (e, html_engine_get_table (e), data->attr.color.has_bg_color + if (!table) + return; + + table_set_bg_color (e, table, data->attr.color.has_bg_color ? &data->attr.color.color : NULL, html_undo_direction_reverse (dir)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor