diff options
author | raveit65 <[email protected]> | 2017-01-08 19:26:54 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-02-17 12:28:22 +0100 |
commit | 7e20448f7a3c03d1e9add21c95d7020198b97798 (patch) | |
tree | eaae6ec72703d271577b78b9b20232b8141acb7f /font-viewer/font-model.h | |
parent | a90ffcd2912dc484cee7dd95b794860b9353138a (diff) | |
download | mate-control-center-7e20448f7a3c03d1e9add21c95d7020198b97798.tar.bz2 mate-control-center-7e20448f7a3c03d1e9add21c95d7020198b97798.tar.xz |
Fontviewer: model: cache tree iters when setting values on the model
This speeds up model loading again, since we don't need to go through
the font list again when setting the thumbnail pixbuf.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=2120af2
Diffstat (limited to 'font-viewer/font-model.h')
-rw-r--r-- | font-viewer/font-model.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/font-viewer/font-model.h b/font-viewer/font-model.h index f4ae79aa..deed9470 100644 --- a/font-viewer/font-model.h +++ b/font-viewer/font-model.h @@ -58,9 +58,6 @@ typedef struct { GType font_view_model_get_type (void); 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); |