projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull the search UI construction code out into a distinct function.
[geeqie.git]
/
src
/
pan-view
/
pan-view-search.h
diff --git
a/src/pan-view/pan-view-search.h
b/src/pan-view/pan-view-search.h
index
c61dd19
..
88784b7
100644
(file)
--- a/
src/pan-view/pan-view-search.h
+++ b/
src/pan-view/pan-view-search.h
@@
-30,5
+30,11
@@
void pan_search_activate(PanWindow *pw);
void pan_search_activate_cb(const gchar *text, gpointer data);
void pan_search_toggle_cb(GtkWidget *button, gpointer data);
void pan_search_activate_cb(const gchar *text, gpointer data);
void pan_search_toggle_cb(GtkWidget *button, gpointer data);
+// Creates a new PanViewSearchUi instance and returns it.
+PanViewSearchUi *pan_search_ui_new(PanWindow *pw);
+
+// Destroys the specified PanViewSearchUi and sets the pointer to NULL.
+void pan_search_ui_destroy(PanViewSearchUi **ui);
+
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */