Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. Before:
  2.   if (!qname_prefix(code).id()) {
  3.     gchar *svg_name = g_strconcat(prefix, ":", g_quark_to_string(code), NULL);
  4.     repr->setCodeUnsafe(g_quark_from_string(svg_name));
  5.     g_free(svg_name);
  6.   }
  7.  
  8. After:
  9.   if (!qname_prefix(code).id()) {
  10.     TempGtkStringPtr svg_name(g_strconcat(prefix, ":", g_quark_to_string(code), NULL));
  11.     repr->setCodeUnsafe(g_quark_from_string(svg_name));
  12.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement