pidgin/pidginconversation.c

changeset 42801
69a6faed5ab7
parent 42784
909476a9e569
child 42812
4d48abf72b94
equal deleted inserted replaced
42800:5c55680a1a6b 42801:69a6faed5ab7
321 static char * 321 static char *
322 pidgin_conversation_process_message_contents_cb(G_GNUC_UNUSED GObject *self, 322 pidgin_conversation_process_message_contents_cb(G_GNUC_UNUSED GObject *self,
323 const char *contents, 323 const char *contents,
324 G_GNUC_UNUSED gpointer data) 324 G_GNUC_UNUSED gpointer data)
325 { 325 {
326 return g_markup_escape_text(contents, -1); 326 char *escaped = NULL;
327 char *linkified = NULL;
328
329 escaped = g_markup_escape_text(contents, -1);
330 linkified = purple_markup_linkify(escaped);
331 g_free(escaped);
332
333 return linkified;
327 } 334 }
328 335
329 static void 336 static void
330 pidgin_conversation_member_list_context_cb(GtkGestureSingle *self, 337 pidgin_conversation_member_list_context_cb(GtkGestureSingle *self,
331 G_GNUC_UNUSED gint n_press, 338 G_GNUC_UNUSED gint n_press,

mercurial