diff options
author | 2012-09-06 20:35:14 +0200 | |
---|---|---|
committer | 2012-09-06 20:35:14 +0200 | |
commit | a87d6d7c51eabda38b935bc8204a4a28ba1e74d8 (patch) | |
tree | e75228ff08411312762efe2daa69f61d93e73e3f /plugins/gtkui/search.c | |
parent | 62155250836609cc7896953b25ac300c17fbd7de (diff) |
gtkui: fixed trkproperties memleak on shutdown and few compiler warnings
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r-- | plugins/gtkui/search.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c index decd3fe4..432c7022 100644 --- a/plugins/gtkui/search.c +++ b/plugins/gtkui/search.c @@ -69,6 +69,12 @@ search_start (void) { } void +search_destroy (void) { + gtk_widget_destroy (searchwin); + searchwin = NULL; +} + +void search_process (const char *text) { ddb_playlist_t *plt = deadbeef->plt_get_curr (); deadbeef->plt_search_process (plt, text); @@ -417,4 +423,3 @@ search_playlist_init (GtkWidget *widget) { } lock_column_config = 0; } - |