diff options
author | monsta <[email protected]> | 2018-01-28 21:57:32 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-30 15:54:42 +0100 |
commit | 34e5c2d98f8847644a3877ca2f732091661f9e6a (patch) | |
tree | c43b64949e5557b51142585d86f43d5c710e632f /pluma/pluma-panel.c | |
parent | ced0b3913385748b6490a4215d7cc9a1681bca77 (diff) | |
download | pluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.bz2 pluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'pluma/pluma-panel.c')
-rw-r--r-- | pluma/pluma-panel.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c index eb234898..19b312d3 100644 --- a/pluma/pluma-panel.c +++ b/pluma/pluma-panel.c @@ -493,11 +493,7 @@ build_vertical_panel (PlumaPanel *panel) 0); panel->priv->title_label = gtk_label_new (_("Empty")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (panel->priv->title_label), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (panel->priv->title_label), 0, 0.5); -#endif gtk_label_set_ellipsize(GTK_LABEL (panel->priv->title_label), PANGO_ELLIPSIZE_END); gtk_box_pack_start (GTK_BOX (icon_name_hbox), @@ -594,12 +590,8 @@ build_tab_label (PlumaPanel *panel, gtk_box_pack_start (GTK_BOX (label_hbox), icon, FALSE, FALSE, 0); /* setup label */ - label = gtk_label_new (name); -#if GTK_CHECK_VERSION (3, 16, 0) + label = gtk_label_new (name); gtk_label_set_xalign (GTK_LABEL (label), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); -#endif gtk_widget_set_margin_start (label, 0); gtk_widget_set_margin_end (label, 0); gtk_widget_set_margin_top (label, 0); @@ -669,11 +661,7 @@ pluma_panel_add_item (PlumaPanel *panel, tab_label = build_tab_label (panel, item, data->name, data->icon); menu_label = gtk_label_new (name); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (menu_label), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (menu_label), 0.0, 0.5); -#endif if (!gtk_widget_get_visible (item)) gtk_widget_show (item); |