From 7088b1566037b165895371b2823d355817e10cbe Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 12 Apr 2010 18:41:04 -0700 Subject: [PATCH] Minor fix of pointer check. --- src/ege-select-one-action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.30.2