[gnome-font-viewer] font-model: avoid a runtime warning
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-font-viewer] font-model: avoid a runtime warning
- Date: Sat, 21 Nov 2015 21:39:04 +0000 (UTC)
commit 9b6925264391b41fdefc7f77fa032c4b1f82aac4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 21 13:38:46 2015 -0800
font-model: avoid a runtime warning
src/font-model.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/font-model.c b/src/font-model.c
index d17dc30..4e0d2b2 100644
--- a/src/font-model.c
+++ b/src/font-model.c
@@ -334,8 +334,7 @@ ensure_fallback_icon (FontViewModel *self)
icon_theme = gtk_icon_theme_get_default ();
icon = g_content_type_get_icon ("application/x-font-ttf");
icon_info = gtk_icon_theme_lookup_by_gicon_for_scale (icon_theme, icon,
- 128, self->priv->scale_factor,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+ 128, self->priv->scale_factor, 0);
g_object_unref (icon);
if (!icon_info)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]