diff options
author | No_name <[email protected]> | 2015-09-25 11:36:06 +0200 |
---|---|---|
committer | No_name <[email protected]> | 2015-09-25 11:36:06 +0200 |
commit | 28e496adbd7d4733629ef60ff5d390fa5897b1b5 (patch) | |
tree | 19b4b64b1c5ed0e7788428a0c4dc3fda1407af5a /src | |
parent | 2c7a8dc81ff5871d3807f2ec6772fbad290d5066 (diff) | |
parent | 95953a48746624332ae69296da031ea2450306b4 (diff) | |
download | marco-28e496adbd7d4733629ef60ff5d390fa5897b1b5.tar.bz2 marco-28e496adbd7d4733629ef60ff5d390fa5897b1b5.tar.xz |
Merge pull request #224 from dnk/assertion
gtk3: fix assertion 'gtk_widget_get_realized (widget)' failed
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 c9f2ab47..390b0375 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -6331,7 +6331,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); |