[recipes] Revert "Add some query APIs to GrWindow"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Revert "Add some query APIs to GrWindow"
- Date: Sun, 12 Mar 2017 02:08:13 +0000 (UTC)
commit 055cf902ce257187dac3f1696050db4561262236
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 11 21:06:40 2017 -0500
Revert "Add some query APIs to GrWindow"
This reverts commit bdad9acee31b6bfc7a3fac2ec3a83c1d413acf61.
With the previous commit, these APIs are on longer needed.
src/gr-window.c | 16 ----------------
src/gr-window.h | 4 ----
2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/gr-window.c b/src/gr-window.c
index ec413bb..d527714 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -256,22 +256,6 @@ gr_window_set_fullscreen (GrWindow *window,
window->is_fullscreen = fullscreen;
}
-gboolean
-gr_window_is_fullscreen (GrWindow *window)
-{
- return window->is_fullscreen;
-}
-
-gboolean
-gr_window_can_search (GrWindow *window)
-{
- const char *visible;
-
- visible = gtk_stack_get_visible_child_name (GTK_STACK (window->header_end_stack));
-
- return strcmp (visible, "search") == 0;
-}
-
static void
stop_search (GrWindow *window)
{
diff --git a/src/gr-window.h b/src/gr-window.h
index 6c29e82..0af7193 100644
--- a/src/gr-window.h
+++ b/src/gr-window.h
@@ -47,8 +47,6 @@ void gr_window_load_recipe (GrWindow *window,
void gr_window_save_all (GrWindow *window);
void gr_window_show_search (GrWindow *window,
const char *terms);
-gboolean gr_window_can_search (GrWindow *window);
-
void gr_window_go_back (GrWindow *window);
void gr_window_show_diet (GrWindow *window,
const char *title,
@@ -75,10 +73,8 @@ void gr_window_offer_undelete (GrWindow *window,
GrRecipe *recipe);
void gr_window_offer_contribute (GrWindow *window,
GrRecipe *recipe);
-
void gr_window_set_fullscreen (GrWindow *window,
gboolean fullscreen);
-gboolean gr_window_is_fullscreen (GrWindow *window);
void gr_window_show_image (GrWindow *window,
GArray *images,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]