pidgin: c3b976e1: Remove more deprecated stuff

markdoliner at pidgin.im markdoliner at pidgin.im
Sat Aug 20 23:05:48 EDT 2011


----------------------------------------------------------------------
Revision: c3b976e1024474b5a66c67dd18952fb52e1fe125
Parent:   8f3fa30dafef601c137ef1450edd4929427efafc
Author:   markdoliner at pidgin.im
Date:     08/20/11 23:01:37
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c3b976e1024474b5a66c67dd18952fb52e1fe125

Changelog: 

Remove more deprecated stuff

Changes against parent 8f3fa30dafef601c137ef1450edd4929427efafc

  patched  pidgin/gtkdialogs.c
  patched  pidgin/gtkdialogs.h
  patched  pidgin/gtkimhtml.h
  patched  pidgin/plugins/perl/common/GtkDialogs.xs

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.h	3cb69db6da5618d650d04031aec257cfec7ff260
+++ pidgin/gtkimhtml.h	4c0f77043b177d4ffe7c251776e62939e1c8322f
@@ -154,20 +154,6 @@ struct _GtkIMHtmlClass {
 	GList *protocols; /* List of GtkIMHtmlProtocol's */
 };
 
-#if !(defined PIDGIN_DISABLE_DEPRECATED) && !(defined _PIDGIN_GTKIMHTML_C_)
-/** @deprecated as of 2.7.10 */
-struct _GtkIMHtmlFontDetail {
-	gushort size;
-	gchar *face;
-	gchar *fore;
-	gchar *back;
-	gchar *bg;
-	gchar *sml;
-	gboolean underline;
-	gshort bold;
-};
-#endif
-
 struct _GtkSmileyTree {
 	GString *values;
 	GtkSmileyTree **children;
============================================================
--- pidgin/gtkdialogs.c	a47dd6f786a5d58210d092d2696aae6e8cf983c4
+++ pidgin/gtkdialogs.c	c52ec8f5a56a0ed191ba2eb4ad085cdddeb913e1
@@ -1114,26 +1114,6 @@ static void
 }
 
 static void
-pidgin_dialogs_alias_contact_cb(PurpleContact *contact, const char *new_alias)
-{
-	purple_blist_alias_contact(contact, new_alias);
-}
-
-void
-pidgin_dialogs_alias_contact(PurpleContact *contact)
-{
-	g_return_if_fail(contact != NULL);
-
-	purple_request_input(NULL, _("Alias Contact"), NULL,
-					   _("Enter an alias for this contact."),
-					   contact->alias, FALSE, FALSE, NULL,
-					   _("Alias"), G_CALLBACK(pidgin_dialogs_alias_contact_cb),
-					   _("Cancel"), NULL,
-					   NULL, purple_contact_get_alias(contact), NULL,
-					   contact);
-}
-
-static void
 pidgin_dialogs_alias_buddy_cb(PurpleBuddy *buddy, const char *new_alias)
 {
 	purple_blist_alias_buddy(buddy, new_alias);
============================================================
--- pidgin/gtkdialogs.h	740344749ce0b6f89bba2c650ebe63aa670eee06
+++ pidgin/gtkdialogs.h	475f600318d4506ecf7339e9cac158edcc3872c3
@@ -42,14 +42,6 @@ void pidgin_dialogs_log(void);
 void pidgin_dialogs_info(void);
 void pidgin_dialogs_log(void);
 
-#if !(defined PIDGIN_DISABLE_DEPRECATED) || (defined _PIDGIN_GTKDIALOGS_C_)
-/**
- * @deprecated This function is no longer used and will be removed in
- *             Pidgin 3.0.0 unless there is sufficient demand to keep it.
- */
-void pidgin_dialogs_alias_contact(PurpleContact *);
-#endif
-
 void pidgin_dialogs_alias_buddy(PurpleBuddy *);
 void pidgin_dialogs_alias_chat(PurpleChat *);
 void pidgin_dialogs_remove_buddy(PurpleBuddy *);
============================================================
--- pidgin/plugins/perl/common/GtkDialogs.xs	16c2c017b85744dc0481a0b056e63370c15d84c8
+++ pidgin/plugins/perl/common/GtkDialogs.xs	0b07f998778cbd17495e7cd1a139220c0f4bd65d
@@ -24,10 +24,6 @@ void
 pidgin_dialogs_log()
 
 void
-pidgin_dialogs_alias_contact(contact)
-	Purple::BuddyList::Contact contact
-
-void
 pidgin_dialogs_alias_buddy(buddy)
 	Purple::BuddyList::Buddy buddy
 


More information about the Commits mailing list