diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-19 00:52:01 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-19 00:52:01 +0100 |
commit | 9b0c15fa3a559c1cb07457fb96b8fd175f01fb95 (patch) | |
tree | 5259f091f4ef2364d63f509c65bd91df8900908d /mixgtk | |
parent | a15f93b56e62bcc6858281853f282d72956ec12f (diff) | |
download | mdk-9b0c15fa3a559c1cb07457fb96b8fd175f01fb95.tar.gz mdk-9b0c15fa3a559c1cb07457fb96b8fd175f01fb95.tar.bz2 |
Gimme back my fonts (deprecated)
Diffstat (limited to 'mixgtk')
-rw-r--r-- | mixgtk/mixgtk_fontsel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mixgtk/mixgtk_fontsel.c b/mixgtk/mixgtk_fontsel.c index b9812a1..0f3012a 100644 --- a/mixgtk/mixgtk_fontsel.c +++ b/mixgtk/mixgtk_fontsel.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mixgtk_fontsel.c : * Implementation of the functions declared in mixgtk_fontsel.h * ------------------------------------------------------------------ - * Copyright (C) 2001, 2004, 2006, 2007, 2008, 2019 Free Software Foundation, Inc. + * Copyright (C) 2001, 2004, 2006, 2007, 2008, 2019, 2020 Free Software Foundation, Inc. * * 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 @@ -68,9 +68,7 @@ mixgtk_fontsel_set_font (mixgtk_font_t f, GtkWidget *w) if (font_desc) { - // deprecated... some silly CSS stuff instead - // gtk_widget_override_font (w, font_desc); - gtk_widget_queue_draw (w); + gtk_widget_override_font (w, font_desc); pango_font_description_free (font_desc); } else |