Commit 9891cb2b authored by Adrien Plazas's avatar Adrien Plazas

meson: Add dependency on libhandy 1.0.0

parent 56a23c5c
......@@ -106,6 +106,7 @@ gmodule = dependency('gmodule-2.0')
goa = dependency('goa-1.0')
gtk = dependency('gtk+-3.0', version : '>= 3.22.4')
glib = dependency('glib-2.0', version : '>= 2.55.0')
libhandy = dependency('libhandy-1', version: '>= 1.0.0')
json_glib = dependency('json-glib-1.0', version : '>= 1.2.0')
libm = cc.find_library('m', required: false)
libsoup = dependency('libsoup-2.4', version : '>= 2.52.0')
......
......@@ -15,6 +15,7 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gio/gdesktopappinfo.h>
#include <handy.h>
#include <libsoup/soup.h>
#ifdef GDK_WINDOWING_X11
......@@ -948,6 +949,8 @@ gs_application_startup (GApplication *application)
GsApplication *app = GS_APPLICATION (application);
G_APPLICATION_CLASS (gs_application_parent_class)->startup (application);
hdy_init ();
gs_application_add_wrapper_actions (application);
g_action_map_add_action_entries (G_ACTION_MAP (application),
......@@ -972,6 +975,9 @@ gs_application_startup (GApplication *application)
gs_folders_convert ();
gs_application_update_software_sources_presence (application);
gtk_icon_theme_add_resource_path (gtk_icon_theme_get_default (),
"/org/gnome/Software/icons/hicolor");
}
static void
......
......@@ -76,6 +76,7 @@ gnome_software_dependencies = [
gmodule,
goa,
gtk,
libhandy,
json_glib,
libm,
libsoup,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment