summaryrefslogtreecommitdiff
path: root/pluma/pluma-pango.h
diff options
context:
space:
mode:
authorBwackNinja <[email protected]>2020-10-16 12:08:49 -0400
committerraveit65 <[email protected]>2020-10-27 13:09:33 +0100
commit1b879ef459cce5d6012c9f535b2ce2f056b49989 (patch)
treea8690fc92c1f7ca2b1f575574f87858baab3c712 /pluma/pluma-pango.h
parent6e4188e92ee151ac44f2cccf239c8f5ae43d4b69 (diff)
downloadpluma-1b879ef459cce5d6012c9f535b2ce2f056b49989.tar.bz2
pluma-1b879ef459cce5d6012c9f535b2ce2f056b49989.tar.xz
pluma-view: Fix incorrect interface font
Fixes issue #525 by setting the textview font with css without also setting the font for the labels. Changes based on gedit and gtk/gtkfontbutton.c.
Diffstat (limited to 'pluma/pluma-pango.h')
-rw-r--r--pluma/pluma-pango.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/pluma/pluma-pango.h b/pluma/pluma-pango.h
new file mode 100644
index 00000000..81db9660
--- /dev/null
+++ b/pluma/pluma-pango.h
@@ -0,0 +1,28 @@
+/* pluma-pango.h
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef PLUMA_PANGO_H
+#define PLUMA_PANGO_H
+
+#include <pango/pango.h>
+
+G_BEGIN_DECLS
+
+gchar *pluma_pango_font_description_to_css (const PangoFontDescription *font_desc);
+
+G_END_DECLS
+
+#endif /* PLUMA_PANGO_H */