project: Switch to libhandy-1
This commit updates the dependencies for libhandy to the tagged 1.0 release and changes the code to accomodate the changes from libhandy-0 to libhandy-1. Notable changes: edit-dialog: HdyDialog has been dropped in [1] alarm-row: action child type in HdyActionRow has been removed. [1] https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/434
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
2d5b1aa9d1
commit
8be361b6ce
@@ -34,6 +34,7 @@
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <handy.h>
|
||||
|
||||
struct _GcalApplication
|
||||
{
|
||||
@@ -446,6 +447,9 @@ gcal_application_startup (GApplication *app)
|
||||
if ((g_application_get_flags (app) & G_APPLICATION_IS_SERVICE) != 0)
|
||||
g_application_set_inactivity_timeout (app, 3 * 60 * 1000);
|
||||
|
||||
/* initialize libhandy */
|
||||
hdy_init();
|
||||
|
||||
GCAL_EXIT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user