diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-18 21:15:02 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 22:43:09 +0100 |
commit | 6454339a1a2141ff8d33dce2dfff4fd0fc52b227 (patch) | |
tree | 2129ccc507ea6d66d8216573879a8320f8c588be /pluma/pluma-utils.c | |
parent | dc6b2065db9aa22aac346adaf337fb868b959f11 (diff) | |
download | pluma-6454339a1a2141ff8d33dce2dfff4fd0fc52b227.tar.bz2 pluma-6454339a1a2141ff8d33dce2dfff4fd0fc52b227.tar.xz |
Gtk+-3.14: don't use deprecated GtkMisc
Diffstat (limited to 'pluma/pluma-utils.c')
-rw-r--r-- | pluma/pluma-utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pluma/pluma-utils.c b/pluma/pluma-utils.c index 571cf81f..657003d6 100644 --- a/pluma/pluma-utils.c +++ b/pluma/pluma-utils.c @@ -1097,7 +1097,14 @@ handle_builder_error (const gchar *message, ...) g_free (msg_plain); g_free (msg); +#if GTK_CHECK_VERSION (3, 14, 0) + gtk_widget_set_margin_start (label, 5); + gtk_widget_set_margin_end (label, 5); + gtk_widget_set_margin_top (label, 5); + gtk_widget_set_margin_bottom (label, 5); +#else gtk_misc_set_padding (GTK_MISC (label), 5, 5); +#endif return label; } |