pidgin/gtkutils.c

changeset 39561
bd42e65927cf
parent 39483
ab4728087d87
child 39568
f4714f1de6d0
equal deleted inserted replaced
39557:bd633ebf4e89 39561:bd42e65927cf
2460 g_free(tmp); 2460 g_free(tmp);
2461 2461
2462 return NULL; 2462 return NULL;
2463 } 2463 }
2464 2464
2465 char *pidgin_make_pretty_arrows(const char *str)
2466 {
2467 char *ret;
2468 char **split = g_strsplit(str, "->", -1);
2469 ret = g_strjoinv("\342\207\250", split);
2470 g_strfreev(split);
2471
2472 split = g_strsplit(ret, "<-", -1);
2473 g_free(ret);
2474 ret = g_strjoinv("\342\207\246", split);
2475 g_strfreev(split);
2476
2477 return ret;
2478 }
2479
2480 void pidgin_set_urgent(GtkWindow *window, gboolean urgent) 2465 void pidgin_set_urgent(GtkWindow *window, gboolean urgent)
2481 { 2466 {
2482 #if defined _WIN32 2467 #if defined _WIN32
2483 winpidgin_window_flash(window, urgent); 2468 winpidgin_window_flash(window, urgent);
2484 #else 2469 #else

mercurial