treewide: Replace libhandy with libadwaita
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -44,10 +44,10 @@
|
||||
#include "calls-ringer.h"
|
||||
#include "version.h"
|
||||
|
||||
#include <adwaita.h>
|
||||
#include <call-ui.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib-unix.h>
|
||||
#include <handy.h>
|
||||
#include <libcallaudio.h>
|
||||
|
||||
/**
|
||||
@@ -474,18 +474,18 @@ startup (GApplication *application)
|
||||
{
|
||||
g_autoptr (GtkCssProvider) provider = NULL;
|
||||
g_autoptr (GError) error = NULL;
|
||||
#if HDY_CHECK_VERSION (1, 5, 0)
|
||||
HdyStyleManager *style_manager;
|
||||
#if ADW_CHECK_VERSION (1, 5, 0)
|
||||
AdwStyleManager *style_manager;
|
||||
#endif
|
||||
|
||||
G_APPLICATION_CLASS (calls_application_parent_class)->startup (application);
|
||||
|
||||
hdy_init ();
|
||||
adw_init ();
|
||||
|
||||
#if HDY_CHECK_VERSION (1, 5, 0)
|
||||
style_manager = hdy_style_manager_get_default ();
|
||||
#if ADW_CHECK_VERSION (1, 5, 0)
|
||||
style_manager = adw_style_manager_get_default ();
|
||||
|
||||
hdy_style_manager_set_color_scheme (style_manager, HDY_COLOR_SCHEME_PREFER_LIGHT);
|
||||
adw_style_manager_set_color_scheme (style_manager, ADW_COLOR_SCHEME_PREFER_LIGHT);
|
||||
#endif
|
||||
|
||||
if (!call_audio_init (&error))
|
||||
|
||||
Reference in New Issue
Block a user