[bijiben] windowBase: remove old function set_entry
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] windowBase: remove old function set_entry
- Date: Thu, 12 Sep 2013 22:17:14 +0000 (UTC)
commit 1673ded28f423096bc6edc72d8e5e593f308ac6a
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Sep 12 23:59:06 2013 +0200
windowBase: remove old function set_entry
src/bjb-window-base.c | 12 ++++++------
src/bjb-window-base.h | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/bjb-window-base.c b/src/bjb-window-base.c
index eacdaec..548c09c 100644
--- a/src/bjb-window-base.c
+++ b/src/bjb-window-base.c
@@ -370,15 +370,15 @@ bjb_window_base_get_book(GtkWidget * win)
void
bjb_window_base_set_entry(GtkWidget *win, gchar *search_entry)
{
- BjbWindowBase *bmw = BJB_WINDOW_BASE(win);
- bmw->priv->entry = search_entry ;
-}
+ BjbWindowBase *bmw;
-void bjb_window_base_delete_entry(GtkWidget *win)
-{
- BJB_WINDOW_BASE(win)->priv->entry = NULL ;
+ g_return_if_fail (BJB_IS_WINDOW_BASE (win));
+
+ bmw = BJB_WINDOW_BASE (win);
+ bmw->priv->entry = search_entry;
}
+
gchar *
bjb_window_base_get_entry(GtkWidget *win)
{
diff --git a/src/bjb-window-base.h b/src/bjb-window-base.h
index d68bde3..28cb568 100644
--- a/src/bjb-window-base.h
+++ b/src/bjb-window-base.h
@@ -57,12 +57,12 @@ BjbWindowViewType bjb_window_base_get_view_type (BjbWindowBase *win);
BijiNoteBook * bjb_window_base_get_book(GtkWidget * win);
-void bjb_window_base_set_entry(GtkWidget *win, gchar *search_entry) ;
-void bjb_window_base_delete_entry(GtkWidget *win);
+void bjb_window_base_set_entry(GtkWidget *win, gchar *search_entry) ;
gchar * bjb_window_base_get_entry(GtkWidget *win) ;
+
gpointer bjb_window_base_get_main_view (BjbWindowBase *self);
BijiNoteObj * bjb_window_base_get_note (BjbWindowBase *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]