Mercurial > pidgin-twitter
changeset 362:c6392a86839b
compilation fix for gcc 4.6. patch by dai <[email protected]>
author | Yoshiki Yazawa <[email protected]> |
---|---|
date | Thu, 12 May 2011 23:53:50 +0900 |
parents | 93cab0334b87 |
children | 85e109dee063 |
files | main.c twitter_api.c |
diffstat | 2 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Tue Aug 31 17:43:11 2010 +0900 +++ b/main.c Thu May 12 23:53:50 2011 +0900 @@ -711,10 +711,8 @@ { PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv); GtkWidget *box, *sep, *counter, *menus; - GtkIMHtml *imhtml; box = gtkconv->toolbar; - imhtml = GTK_IMHTML(gtkconv->imhtml); /* Disable widgets that decorate or add link to composing text * because Twitter cannot receive marked up string. For lean-view
--- a/twitter_api.c Tue Aug 31 17:43:11 2010 +0900 +++ b/twitter_api.c Thu May 12 23:53:50 2011 +0900 @@ -896,17 +896,12 @@ { char *request, *header; const char *url_encoded = g_uri_escape_string(*buffer, "", FALSE); - PurpleConversation *conv; char *oauth; twitter_message_t *tm; const char *a_key = NULL; const char *a_sec = NULL; oauth_request_t oauth_req; - conv = purple_find_conversation_with_account( - PURPLE_CONV_TYPE_ANY, "[email protected]", - account_for_twitter); /* xxx */ - a_key = purple_prefs_get_string(OPT_AKEY_TWITTER); a_sec = purple_prefs_get_string(OPT_ASEC_TWITTER); @@ -969,14 +964,8 @@ char *oauth; const char *a_key = NULL; const char *a_sec = NULL; - PurpleConversation *conv; oauth_request_t oauth_req; - conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, - "[email protected]", - account_for_twitter); /* xxx */ - - a_key = purple_prefs_get_string(OPT_AKEY_TWITTER); a_sec = purple_prefs_get_string(OPT_ASEC_TWITTER); @@ -1033,13 +1022,8 @@ char *oauth; const char *a_key = NULL; const char *a_sec = NULL; - PurpleConversation *conv; oauth_request_t oauth_req; - conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, - "[email protected]", - account_for_twitter); /* xxx */ - a_key = purple_prefs_get_string(OPT_AKEY_TWITTER); a_sec = purple_prefs_get_string(OPT_ASEC_TWITTER);