[devhelp] Add extra parameter to dh_search_set_search_string for API compatibility
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Add extra parameter to dh_search_set_search_string for API compatibility
- Date: Tue, 21 Dec 2010 10:07:12 +0000 (UTC)
commit 40f3595a304c78bc480edf3671d8a2aef62f850e
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Dec 21 11:06:18 2010 +0100
Add extra parameter to dh_search_set_search_string for API compatibility
This is used by the Anjuta devhelp plugin.
src/dh-search.c | 3 ++-
src/dh-search.h | 3 ++-
src/dh-window.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/dh-search.c b/src/dh-search.c
index d8537e7..96c49f4 100644
--- a/src/dh-search.c
+++ b/src/dh-search.c
@@ -1192,7 +1192,8 @@ dh_search_new (DhBookManager *book_manager)
void
dh_search_set_search_string (DhSearch *search,
- const gchar *str)
+ const gchar *str,
+ const gchar *unused)
{
DhSearchPriv *priv;
diff --git a/src/dh-search.h b/src/dh-search.h
index 35daeb5..c7c1028 100644
--- a/src/dh-search.h
+++ b/src/dh-search.h
@@ -52,7 +52,8 @@ struct _DhSearchClass {
GType dh_search_get_type (void);
GtkWidget *dh_search_new (DhBookManager *book_manager);
void dh_search_set_search_string (DhSearch *search,
- const gchar *str);
+ const gchar *str,
+ const gchar *unused);
G_END_DECLS
diff --git a/src/dh-window.c b/src/dh-window.c
index 34ed8c2..ca0486f 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1963,7 +1963,7 @@ dh_window_search (DhWindow *window,
priv = window->priv;
gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->control_notebook), 1);
- dh_search_set_search_string (DH_SEARCH (priv->search), str);
+ dh_search_set_search_string (DH_SEARCH (priv->search), str, NULL);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]