diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-30 00:33:41 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 21:50:40 +0100 |
commit | 346e96a1be7bc54d1bc63fa45ab81df19a02b687 (patch) | |
tree | 1cf8ef213b632b0fb7940a7586eeea5f51e312d4 /src/util.cpp | |
parent | 4534e68bb0cb31734be338efa06cb6d3e00180f6 (diff) | |
download | mate-system-monitor-346e96a1be7bc54d1bc63fa45ab81df19a02b687.tar.bz2 mate-system-monitor-346e96a1be7bc54d1bc63fa45ab81df19a02b687.tar.xz |
GTK3: do not use deprecated GtkMisc
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 0690d48..20714bd 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -125,7 +125,11 @@ procman_make_label_for_mmaps_or_ofiles(const char *format, name = mnemonic_safe_process_name (process_name); title = g_strdup_printf(format, name, pid); label = gtk_label_new_with_mnemonic (title); +#if GTK_CHECK_VERSION (3, 14, 0) + gtk_widget_set_halign (label, GTK_ALIGN_START); +#else gtk_misc_set_alignment (GTK_MISC (label), 0.0f, 0.5f); +#endif g_free (title); g_free (name); |