diff options
Diffstat (limited to 'libslab/application-tile.c')
-rw-r--r-- | libslab/application-tile.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libslab/application-tile.c b/libslab/application-tile.c index 523643df..2e41eaba 100644 --- a/libslab/application-tile.c +++ b/libslab/application-tile.c @@ -412,11 +412,7 @@ create_header (const gchar *name) header = gtk_label_new (name); gtk_label_set_line_wrap (GTK_LABEL (header), TRUE); -#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 g_signal_connect ( G_OBJECT (header), @@ -435,11 +431,8 @@ create_subheader (const gchar *desc) subheader = gtk_label_new (desc); gtk_label_set_ellipsize (GTK_LABEL (subheader), PANGO_ELLIPSIZE_END); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (subheader), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (subheader), 0.0, 0.5); -#endif + gtk_widget_modify_fg ( subheader, GTK_STATE_NORMAL, |