diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-04-13 01:41:04 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-04-13 01:41:04 +0000 |
| commit | 87b64ac179100521e4a740e786df5ef24956c2dd (patch) | |
| tree | d5bc9c9214afa578a5ac2bd48f56b5997ddd2fd7 /src/ege-select-one-action.cpp | |
| parent | german translation Update (diff) | |
| download | inkscape-87b64ac179100521e4a740e786df5ef24956c2dd.tar.gz inkscape-87b64ac179100521e4a740e786df5ef24956c2dd.zip | |
Minor fix of pointer check.
(bzr r9321)
Diffstat (limited to 'src/ege-select-one-action.cpp')
| -rw-r--r-- | src/ege-select-one-action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ege-select-one-action.cpp b/src/ege-select-one-action.cpp index 6de22495d..50967ecb2 100644 --- a/src/ege-select-one-action.cpp +++ b/src/ege-select-one-action.cpp @@ -575,7 +575,7 @@ GtkWidget* create_tool_item( GtkAction* action ) g_object_set( G_OBJECT(obj), act->private_data->iconProperty, iconId, NULL ); } - if ( act->private_data->iconProperty >= 0 ) { + if ( act->private_data->iconProperty ) { /* TODO get this string to be set instead of hardcoded */ if ( act->private_data->iconSize >= 0 ) { g_object_set( G_OBJECT(obj), "iconSize", act->private_data->iconSize, NULL ); |
