[devhelp/wip/swilmet/maintenance: 9/21] window: remove dead code with GtkMisc
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/maintenance: 9/21] window: remove dead code with GtkMisc
- Date: Sat, 23 May 2015 18:32:54 +0000 (UTC)
commit cb2529c49ababbd1e44df105f3c70b2c28c25268
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri May 15 21:29:13 2015 +0200
window: remove dead code with GtkMisc
set_halign() is called just above, and has a higher priority than
GtkMisc. With this commit, the tab label is still centered.
https://bugzilla.gnome.org/show_bug.cgi?id=749452
src/dh-window.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 27633af..60fb27d 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1351,7 +1351,6 @@ window_new_tab_label (DhWindow *window,
label = gtk_label_new (str);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0);
close_button = gedit_close_button_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]