summaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-12-13 13:11:31 +0300
committermonsta <[email protected]>2016-01-11 14:05:07 +0300
commit2194bbaf2511234c726e3e1ec8a361c5a62ffce9 (patch)
tree0b998a24f560cd7b3bc65bc56be842dfcab5c201 /src/util.cpp
parentcbb995375f1b97679fd42090e31277666249cc84 (diff)
downloadmate-system-monitor-2194bbaf2511234c726e3e1ec8a361c5a62ffce9.tar.bz2
mate-system-monitor-2194bbaf2511234c726e3e1ec8a361c5a62ffce9.tar.xz
set minimum GTK+ version to 3.14 and drop some deprecated code
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 20714bd..226dc70 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -125,11 +125,7 @@ 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);