diff options
author | 2009-08-09 00:58:41 +0200 | |
---|---|---|
committer | 2009-08-09 00:58:41 +0200 | |
commit | 1a9a8db9af43097ae4eef4dc5e1e0b0e3a7713c1 (patch) | |
tree | afe4e2e551a56733813e05f98507c0b0d7b8ac1c /search.c | |
parent | 84527d3b733052108f0e6c49eae091d0b98712cf (diff) |
refactored gtkplaylist code for searchwindow
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -29,9 +29,11 @@ #include "support.h" #include "search.h" +#include "gtkplaylist.h" -static GtkWidget *searchwin = NULL; +GtkWidget *searchwin = NULL; struct playItem_s *search_head = NULL; +struct playItem_s *search_current = NULL; void search_start (void) { @@ -78,8 +80,7 @@ on_searchheader_configure_event (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data) { - - return FALSE; + return FALSE; } @@ -130,6 +131,10 @@ on_searchlist_configure_event (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data) { + extern void search_playlist_init (GtkWidget *widget); + search_playlist_init (widget); + GTKPS_PROLOGUE; + gtkps_configure (ps); return FALSE; } |