[recipes] Drop remnants of timer notification support



commit 4307680f3e596ad5cb5cd9cd8e681a508f63cd67
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 17 19:40:32 2017 -0500

    Drop remnants of timer notification support
    
    With the fullscreen cooking view, we no longer do system notifications
    for expired timers, so we don't need this action anymore.

 src/gr-app.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/gr-app.c b/src/gr-app.c
index 0b6871e..ae41bc2 100644
--- a/src/gr-app.c
+++ b/src/gr-app.c
@@ -98,23 +98,6 @@ quit_activated (GSimpleAction *action,
 }
 
 static void
-timer_expired (GSimpleAction *action,
-               GVariant      *parameter,
-               gpointer       app)
-{
-        GtkWindow *win;
-        const char *id;
-        g_autoptr(GrRecipe) recipe = NULL;
-
-        win = gtk_application_get_active_window (GTK_APPLICATION (app));
-        id = g_variant_get_string (parameter, NULL);
-        recipe = gr_recipe_store_get_recipe (GR_APP (app)->store, id);
-        if (recipe)
-                gr_window_show_recipe (GR_WINDOW (win), recipe);
-        gtk_window_present (win);
-}
-
-static void
 import_activated (GSimpleAction *action,
                   GVariant      *parameter,
                   gpointer       app)
@@ -167,7 +150,6 @@ static GActionEntry app_entries[] =
         { "import", import_activated, NULL, NULL, NULL },
         { "details", details_activated, "(ss)", NULL, NULL },
         { "search", search_activated, "s", NULL, NULL },
-        { "timer-expired", timer_expired, "s", NULL, NULL },
         { "quit", quit_activated, NULL, NULL, NULL }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]