comparison pidgin/gtkdialogs.c @ 24292:8282911d5e17

Build everything with the *_DISABLE_DEPRECATED flags set. This allows us to detect when we're still using deprecated functions internally (and by extension, when we've deprecated something we shouldn't have). In the course of developing this changeset, I fixed a few such cases. Given that the plan is to switch from PURPLE_HIDE_STRUCTS to PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will also ensure we have no regressions on the struct hiding work. Deprecated functions are still available to the respective .c file, to avoid missing prototype errors. Also, Perl and DBus undef the *_DISABLE_DEPRECATED defines as appropriate so that deprecated functions will still be exported to Perl plugins and via DBus. (Otherwise, we'd be breaking backwards compatibility.)
author Richard Laager <rlaager@wiktel.com>
date Thu, 30 Oct 2008 22:40:49 +0000
parents 46e35741ba0d
children 7827ba7d5ad8 4d19a03b72e6 bcad7dc4b453
comparison
equal deleted inserted replaced
24291:f52b94f3b6ca 24292:8282911d5e17
21 * 21 *
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software 23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */ 25 */
26 #define _PIDGIN_GTKDIALOGS_C_
27
26 #include "internal.h" 28 #include "internal.h"
27 #include "pidgin.h" 29 #include "pidgin.h"
28 30
29 #include "debug.h" 31 #include "debug.h"
30 #include "notify.h" 32 #include "notify.h"
965 } 967 }
966 968
967 static void 969 static void
968 pidgin_dialogs_alias_contact_cb(PurpleContact *contact, const char *new_alias) 970 pidgin_dialogs_alias_contact_cb(PurpleContact *contact, const char *new_alias)
969 { 971 {
970 purple_contact_set_alias(contact, new_alias); 972 purple_blist_alias_contact(contact, new_alias);
971 } 973 }
972 974
973 void 975 void
974 pidgin_dialogs_alias_contact(PurpleContact *contact) 976 pidgin_dialogs_alias_contact(PurpleContact *contact)
975 { 977 {