diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/theme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index 173c58f0..4fab7fb1 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -6283,7 +6283,9 @@ meta_gtk_widget_get_font_desc (GtkWidget *widget, { PangoFontDescription *font_desc; +#if !GTK_CHECK_VERSION (3, 0, 0) g_return_val_if_fail (gtk_widget_get_realized (widget), NULL); +#endif #if GTK_CHECK_VERSION (3, 0, 0) GtkStyleContext *style = gtk_widget_get_style_context (widget); |