Fix incorrect Enum type specifier

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23365 57a11ea4-9604-0410-9ed3-97b8803252fd
Avoid critical error from trying to access an uninitialized GHash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23366 57a11ea4-9604-0410-9ed3-97b8803252fd
Mac: Don't append 'Gnucash' to the 'Preferences' menu item title.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23367 57a11ea4-9604-0410-9ed3-97b8803252fd
Replace deprecated tempnam with a constant.

Fixes complaint in 10.9 Mac headers. Even though we were just using tempnam for convenience, we don't really need a randomized filename anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23368 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove dead code.

Unsigned ints can't be less than 0.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23369 57a11ea4-9604-0410-9ed3-97b8803252fd
replace static string filename with generated one

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23370 57a11ea4-9604-0410-9ed3-97b8803252fd