Mercurial > audlegacy-plugins
comparison src/sexypsf/plugin.c @ 1465:db616ccdd40c
use tuple_free(x) in place of mowgli_object_unref(x)
| author | Giacomo Lozito <james@develia.org> |
|---|---|
| date | Sat, 11 Aug 2007 12:21:30 +0200 |
| parents | 195b5657303e |
| children | eb0913bf54c3 |
comparison
equal
deleted
inserted
replaced
| 1464:a19e4395eaff | 1465:db616ccdd40c |
|---|---|
| 250 gchar *title = NULL; | 250 gchar *title = NULL; |
| 251 Tuple *tuple = get_tuple_psf(fn); | 251 Tuple *tuple = get_tuple_psf(fn); |
| 252 | 252 |
| 253 if (tuple != NULL) { | 253 if (tuple != NULL) { |
| 254 title = tuple_formatter_process_string(tuple, cfg.gentitle_format); | 254 title = tuple_formatter_process_string(tuple, cfg.gentitle_format); |
| 255 mowgli_object_unref(tuple); | 255 tuple_free(tuple); |
| 256 } | 256 } |
| 257 else | 257 else |
| 258 title = g_path_get_basename(fn); | 258 title = g_path_get_basename(fn); |
| 259 | 259 |
| 260 return title; | 260 return title; |
