Commit 3610dff0 authored by Julian Sparber's avatar Julian Sparber

Window: add HdyColumn

parent 6c1f07d8
Pipeline #129477 passed with stage
in 2 minutes and 37 seconds
[submodule "subprojects/libhandy"]
path = subprojects/libhandy
url = https://source.puri.sm/Librem5/libhandy.git
......@@ -149,9 +149,27 @@ add_project_arguments(common_flags + compiler_flags, language: 'c')
glib_dep = dependency('glib-2.0', version: '>= 2.43.4')
gtk_dep = dependency('gtk+-3.0', version: '>= 3.22.0')
libhandy_dep = dependency('libhandy-0.0', version: '>= 0.0.9', required: false)
if not libhandy_dep.found()
libhandy = subproject(
'libhandy',
default_options: [
'examples=false',
'glade_catalog=disabled',
'introspection=disabled',
'static=true',
'tests=false',
'vapi=false',
]
)
libhandy_dep = libhandy.get_variable('libhandy_dep')
endif
teleport_deps = [
glib_dep,
gtk_dep,
libhandy_dep,
dependency('gio-2.0', version: '>= 2.43.4'),
dependency('libsoup-2.4'),
dependency('avahi-client'),
......
......@@ -18,6 +18,8 @@
#include <gtk/gtk.h>
#include <string.h>
#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "teleport-app.h"
#include "teleport-window.h"
......@@ -122,6 +124,7 @@ teleport_window_init (TeleportWindow *win)
priv = teleport_window_get_instance_private (win);
g_type_ensure (HDY_TYPE_COLUMN);
gtk_widget_init_template (GTK_WIDGET (win));
builder = gtk_builder_new_from_resource ("/com/frac_tion/teleport/settings.ui");
......
This diff is collapsed.
libhandy @ 1d47eeb8
Subproject commit 1d47eeb88bf27e82906818c12b192158b8232b6e
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