Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
oxygen-gtk2
changeset_rebda9cf5273f62ce226612d3080f49f135f3...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File changeset_rebda9cf5273f62ce226612d3080f49f135f3f2d4.diff of Package oxygen-gtk2
commit ebda9cf5273f62ce226612d3080f49f135f3f2d4 Author: Hugo Pereira Da Costa <hugo@oxygen-icons.org> Date: Fri Jun 22 11:27:45 2012 +0200 Check clipRect validity before altering its width CCBUG: 302197 diff --git a/src/oxygenstylewrapper.cpp b/src/oxygenstylewrapper.cpp index 8795b9d..5fa8fce 100644 --- src/oxygenstylewrapper.cpp +++ src/oxygenstylewrapper.cpp @@ -2178,10 +2178,8 @@ namespace Oxygen } else if( d.isCheck() && ( GTK_IS_CHECK_MENU_ITEM( widget ) || /* for LibreOffice */GTK_IS_MENU_ITEM( widget ) ) ) { // Fix cliprect for LibreOffice - if(GTK_IS_MENU_ITEM(widget)) - { - ++clipRect->width; - } + if( clipRect && GTK_IS_MENU_ITEM(widget)) + { ++clipRect->width; } StyleOptions options( widget, state, shadow ); options |= (Blend|Flat|NoFill);
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