summaryrefslogtreecommitdiff
path: root/font-viewer/font-model.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 18:45:58 +0100
committerraveit65 <[email protected]>2017-02-17 12:28:22 +0100
commit25d089f8582ede5e59a446208eb442af1e1df8e5 (patch)
tree51bc311732aa766f020001582d74d933ecedb01a /font-viewer/font-model.h
parent137cb363afbcbd0b9b3cf337db99fedb043a141e (diff)
downloadmate-control-center-25d089f8582ede5e59a446208eb442af1e1df8e5.tar.bz2
mate-control-center-25d089f8582ede5e59a446208eb442af1e1df8e5.tar.xz
Fontviewer: font-model, add API to get an iter from a FT_Face
We'll need this to update the Install button state when a new font is installed. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1a21320
Diffstat (limited to 'font-viewer/font-model.h')
-rw-r--r--font-viewer/font-model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/font-viewer/font-model.h b/font-viewer/font-model.h
index 869e54d3..10d7f8b0 100644
--- a/font-viewer/font-model.h
+++ b/font-viewer/font-model.h
@@ -60,6 +60,9 @@ GtkTreeModel * font_view_model_new (void);
gboolean font_view_model_get_iter_for_file (FontViewModel *self,
const gchar *file,
GtkTreeIter *iter);
+gboolean font_view_model_get_iter_for_face (FontViewModel *self,
+ FT_Face face,
+ GtkTreeIter *iter);
G_END_DECLS