GNOME Bugzilla – Bug 682289
Doesn't add SoupPasswordManagerGNOME feature to the session with latest soup
Last modified: 2012-08-20 19:33:51 UTC
Apparently SOUP_TYPE_PASSWORD_MANAGER is no longer defined with the current libsoup - I could not find why in a quick investigation. We can just check for SOUP_TYPE_PASSWORD_MANAGER_GNOME, though, which is defined and is even more conceptually correct, since it's the one we use.
Created attachment 221879 [details] [review] patch
Created attachment 221881 [details] [review] check for SOUP_TYPE_PASSWORD_MANAGER_GNOME
Created attachment 221882 [details] [review] move unstable API defines to be the very first thing in the file
As will become obvious from looking at the second patch, further investigation showed that soup.h (which includes soup-password-manager.h) was getting included indirectly by the ephy-embed-single.h include. Which meant that the header was being included with the feature disabled, and the later define had no effect.
Review of attachment 221882 [details] [review]: OK!
Review of attachment 221881 [details] [review]: OK.
Comment on attachment 221881 [details] [review] check for SOUP_TYPE_PASSWORD_MANAGER_GNOME 45ff98169957a690d0dc93ad4f05f31605409ae2
Comment on attachment 221882 [details] [review] move unstable API defines to be the very first thing in the file 8700fcbf2ed3b201d8ce58cf7f388799579cc9a4