summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather')
-rw-r--r--mateweather/mateweather-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index b9df814e..f627c43b 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -707,7 +707,11 @@ void mateweather_dialog_update(MateWeatherDialog* dialog)
if (gw_applet->mateweather_pref.location->zone_valid) {
font_desc = get_system_monospace_font ();
if (font_desc) {
+#if GTK_CHECK_VERSION(3,0,0)
+ gtk_widget_override_font (priv->forecast_text, font_desc);
+#else
gtk_widget_modify_font (priv->forecast_text, font_desc);
+#endif
pango_font_description_free (font_desc);
}