diff options
Diffstat (limited to 'pluma/pluma-statusbar.c')
-rw-r--r-- | pluma/pluma-statusbar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-statusbar.c b/pluma/pluma-statusbar.c index 7e1aa07d..7854fd8b 100644 --- a/pluma/pluma-statusbar.c +++ b/pluma/pluma-statusbar.c @@ -165,7 +165,11 @@ pluma_statusbar_init (PlumaStatusbar *statusbar) statusbar->priv->error_frame = gtk_frame_new (NULL); gtk_frame_set_shadow_type (GTK_FRAME (statusbar->priv->error_frame), GTK_SHADOW_IN); +#if GTK_CHECK_VERSION (3, 10, 0) + error_image = gtk_image_new_from_icon_name ("dialog-error", GTK_ICON_SIZE_MENU); +#else error_image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_MENU); +#endif #if GTK_CHECK_VERSION (3, 14, 0) gtk_widget_set_margin_start (error_image, 4); gtk_widget_set_margin_end (error_image, 4); |