/pidgin/main: 0d72f01e0459: Strip status message taken from gtkw...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Wed Mar 20 19:51:41 EDT 2013


Changeset: 0d72f01e04599ce6b3bdbc4338a4e6b90aba6c07
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-03-21 00:51 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/0d72f01e0459

Description:

Strip status message taken from gtkwebview

diffstat:

 pidgin/gtkstatusbox.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/gtkstatusbox.c b/pidgin/gtkstatusbox.c
--- a/pidgin/gtkstatusbox.c
+++ b/pidgin/gtkstatusbox.c
@@ -2860,7 +2860,7 @@ webview_format_changed_cb(GtkWebView *we
 char *pidgin_status_box_get_message(PidginStatusBox *status_box)
 {
 	if (status_box->webview_visible)
-		return gtk_webview_get_body_html(GTK_WEBVIEW(status_box->webview));
+		return g_strstrip(gtk_webview_get_body_text(GTK_WEBVIEW(status_box->webview)));
 	else
 		return NULL;
 }



More information about the Commits mailing list