[gedit] Use tepl_pango_font_description_to_css()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use tepl_pango_font_description_to_css()
- Date: Thu, 29 Oct 2020 21:10:57 +0000 (UTC)
commit a4cf3ac573cf8591ba629ea4282f7d76323bd96b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Oct 29 22:08:09 2020 +0100
Use tepl_pango_font_description_to_css()
gedit-pango.[ch] have been moved to Tepl.
gedit/gedit-pango.c | 230 ----------------------------------------------------
gedit/gedit-pango.h | 28 -------
gedit/gedit-view.c | 3 +-
gedit/meson.build | 2 -
meson.build | 2 +-
5 files changed, 2 insertions(+), 263 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index a7f75c978..b0b405192 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -28,7 +28,6 @@
#include "gedit-view-activatable.h"
#include "gedit-plugins-engine.h"
#include "gedit-debug.h"
-#include "gedit-pango.h"
#include "gedit-utils.h"
#include "gedit-settings.h"
@@ -779,7 +778,7 @@ update_css_provider (GeditView *view)
g_assert (GEDIT_IS_VIEW (view));
g_assert (view->priv->font_desc != NULL);
- str = gedit_pango_font_description_to_css (view->priv->font_desc);
+ str = tepl_pango_font_description_to_css (view->priv->font_desc);
css = g_strdup_printf ("textview { %s }", str ? str : "");
gtk_css_provider_load_from_data (view->priv->css_provider, css, -1, NULL);
diff --git a/gedit/meson.build b/gedit/meson.build
index a960e6cee..2af70ba4e 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -63,7 +63,6 @@ libgedit_private_headers = [
'gedit-notebook.h',
'gedit-notebook-popup-menu.h',
'gedit-notebook-stack-switcher.h',
- 'gedit-pango.h',
'gedit-plugins-engine.h',
'gedit-preferences-dialog.h',
'gedit-print-job.h',
@@ -105,7 +104,6 @@ libgedit_private_sources = [
'gedit-notebook.c',
'gedit-notebook-popup-menu.c',
'gedit-notebook-stack-switcher.c',
- 'gedit-pango.c',
'gedit-plugins-engine.c',
'gedit-preferences-dialog.c',
'gedit-print-job.c',
diff --git a/meson.build b/meson.build
index 50243f9c3..28c821f37 100644
--- a/meson.build
+++ b/meson.build
@@ -45,7 +45,7 @@ gio_dep = dependency('gio-2.0', version: '>= 2.64')
libgedit_public_deps = [
gio_dep,
dependency('gtk+-3.0', version: '>= 3.22'),
- dependency('tepl-5', version: '>= 5.0'),
+ dependency('tepl-5', version: '>= 5.1.2'),
dependency('libpeas-gtk-1.0'),
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]