[evolution] Bug 695570 - Don't use gtk_container_add() to pack a GtkBox
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 695570 - Don't use gtk_container_add() to pack a GtkBox
- Date: Sun, 10 Mar 2013 16:49:48 +0000 (UTC)
commit aa967cace25a66c1556037d72c24dcb75a3c0da8
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Mar 10 12:49:16 2013 -0400
Bug 695570 - Don't use gtk_container_add() to pack a GtkBox
mail/em-subscription-editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index 308c06b..c8b3c01 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -1761,7 +1761,7 @@ em_subscription_editor_init (EMSubscriptionEditor *editor)
widget = gtk_notebook_new ();
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (widget), FALSE);
gtk_notebook_set_show_border (GTK_NOTEBOOK (widget), FALSE);
- gtk_container_add (GTK_CONTAINER (container), widget);
+ gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
editor->priv->notebook = widget;
gtk_widget_show (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]