From: Jon A. Cruz Date: Tue, 13 Apr 2010 01:41:04 +0000 (-0700) Subject: Minor fix of pointer check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7088b1566037b165895371b2823d355817e10cbe;p=inkscape.git Minor fix of pointer check. --- 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 );