Make StashWidgetID map to gconstpointer rather than gpointer
commit83527f798c0fb5ed8cd6d117eb741234eb2537db
authorColomban Wendling <ban@herbesfolles.org>
Fri, 17 Jun 2011 22:53:01 +0000 (17 22:53 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Fri, 17 Jun 2011 22:53:01 +0000 (17 22:53 +0000)
tree65becd7f9a0e5e12407becb9e99624f3b263bcc7
parent9fa8cd8bf93d84672e9820cb3df5fba1b6afb9e5
Make StashWidgetID map to gconstpointer rather than gpointer

This allows to use constant strings (e.g. string literals) as the
widget ID without triggering tons of compiler warnings.  In cases
widgets or non-constant strings are used, this just don't change
anything, since anyway we don't really need the widget pointer not
to be constant.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5857 ea778897-0a13-0410-b9d1-a72fbfd435f5
ChangeLog
src/stash.c
src/stash.h