diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2013-05-28 19:05:11 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2013-05-28 19:05:11 +0200 |
commit | bc3c2d1d5b6cf8ad2c6b4a64f41361a248f89d90 (patch) | |
tree | 9db95649b477752a323bf749bc9d8da0d49d2b57 /src/ido-detail-label.c | |
parent | f82e3a0b7fae0354c7ca610e155c6afd77fafeca (diff) | |
download | ayatana-indicator-messages-bc3c2d1d5b6cf8ad2c6b4a64f41361a248f89d90.tar.gz ayatana-indicator-messages-bc3c2d1d5b6cf8ad2c6b4a64f41361a248f89d90.tar.bz2 ayatana-indicator-messages-bc3c2d1d5b6cf8ad2c6b4a64f41361a248f89d90.zip |
use gtk_style_context_get instead of deprecated gtk_style_context_get_font
Diffstat (limited to 'src/ido-detail-label.c')
-rw-r--r-- | src/ido-detail-label.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ido-detail-label.c b/src/ido-detail-label.c index 780a2dd..9a163b7 100644 --- a/src/ido-detail-label.c +++ b/src/ido-detail-label.c @@ -140,8 +140,9 @@ gtk_widget_get_font_metrics (GtkWidget *widget, { const PangoFontDescription *font; - font = gtk_style_context_get_font (gtk_widget_get_style_context (widget), - gtk_widget_get_state_flags (widget)); + gtk_style_context_get (gtk_widget_get_style_context (widget), + gtk_widget_get_state_flags (widget), + "font", &font, NULL); return pango_context_get_metrics (context, font, |