diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-17 22:28:43 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | d94afaa0e1bc2d50c68d562f4b5751cd469fa4cb (patch) | |
tree | fb4d5750607406a8b55de87994ba0cb579573819 /frontends/gtk/search.h | |
parent | e9b5b56ba61283901b8d04c0f84929664ee29bb3 (diff) | |
download | netsurf-d94afaa0e1bc2d50c68d562f4b5751cd469fa4cb.tar.gz netsurf-d94afaa0e1bc2d50c68d562f4b5751cd469fa4cb.tar.bz2 |
make the gtk_search structure private to teh gtk search object
Diffstat (limited to 'frontends/gtk/search.h')
-rw-r--r-- | frontends/gtk/search.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/frontends/gtk/search.h b/frontends/gtk/search.h index b242c86ea..5eb0b35cc 100644 --- a/frontends/gtk/search.h +++ b/frontends/gtk/search.h @@ -18,7 +18,7 @@ /** * \file - * free text page search for gtk interfaces + * free text page search for gtk interface */ #ifndef NETSURF_GTK_SEARCH_H_ @@ -26,28 +26,17 @@ extern struct gui_search_table *nsgtk_search_table; -struct nsgtk_scaffolding; - -struct gtk_search { - GtkToolbar *bar; - GtkEntry *entry; - GtkToolButton *back; - GtkToolButton *forward; - GtkToolButton *close; - GtkCheckButton *checkAll; - GtkCheckButton *caseSens; - - struct gui_window *gw; -}; +struct gtk_search; /** * create text search context * * \param builder the gtk builder containing the search toolbar - * \param search_out search context result + * \param bw The browsing context to run the find operations against + * \param search search context result * \return NSERROR_OK and search_out updated */ -nserror nsgtk_search_create(GtkBuilder *builder, struct gtk_search **search_out, struct gui_window *gw); +nserror nsgtk_search_create(GtkBuilder *builder, struct browser_window *bw, struct gtk_search **search); /** * update search toolbar size and style |