Code

peeled back the gboolean code as it hit on some complexity theory principles...
[inkscape.git] / src / widgets / icon.cpp
index 0fadffdc862218231329328adadc1323846dbe73..264349bd17f50a7d898c7d8e86400d32e04a3de6 100644 (file)
@@ -273,7 +273,7 @@ sp_icon_new_full( Inkscape::IconSize lsize, gchar const *name )
     addPreRender( lsize, name );
 
     GtkStockItem stock;
-    bool tryLoad = gtk_stock_lookup( name, &stock );
+    gboolean tryLoad = gtk_stock_lookup( name, &stock );
     if ( !tryLoad && fallback ) {
         tryLoad |= strncmp("gtk-", name, 4 ) == 0;
     }