summaryrefslogtreecommitdiff
path: root/libslab/app-shell.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 22:42:47 +0300
committerraveit65 <[email protected]>2018-01-30 20:11:14 +0100
commit2be32a55532fbb010f83472064435aae49e36270 (patch)
tree8a57f8d9d0b17ea7d4277c5d167c6eee4d0164b8 /libslab/app-shell.c
parent312edc87dae270e11ce2955c7c26b3387ae94985 (diff)
downloadmate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.bz2
mate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'libslab/app-shell.c')
-rw-r--r--libslab/app-shell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libslab/app-shell.c b/libslab/app-shell.c
index 85934a7a..c1765975 100644
--- a/libslab/app-shell.c
+++ b/libslab/app-shell.c
@@ -416,11 +416,7 @@ create_actions_section (AppShellData * app_data, const gchar * title,
header = gtk_label_new (action->name);
gtk_label_set_line_wrap (GTK_LABEL (header), TRUE);
gtk_label_set_max_width_chars (GTK_LABEL (header), 0);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (header), 0.0);
-#else
- gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
-#endif
launcher = nameplate_tile_new (NULL, NULL, header, NULL);
g_object_set_data (G_OBJECT (launcher), APP_ACTION_KEY, action->item);
@@ -707,11 +703,7 @@ create_application_category_sections (AppShellData * app_data)
GtkWidget *hbox;
GtkWidget *table;
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (header), 0.0);
-#else
- gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
-#endif
data->group_launcher = TILE (nameplate_tile_new (NULL, NULL, header, NULL));
g_object_ref (data->group_launcher);