[empathy] use gtk_box_pack_start
- From: Felix Kaser <kaserf src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] use gtk_box_pack_start
- Date: Tue, 10 Nov 2009 14:59:57 +0000 (UTC)
commit 64886f0504b7dd883cb1f1566df78fdf17306033
Author: Felix Kaser <f kaser gmx net>
Date: Thu Oct 29 11:33:18 2009 +0100
use gtk_box_pack_start
instead of gtk_container_add we should use gtk_box_pack_start
src/empathy-main-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 3f456e5..3aca17b 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -395,8 +395,8 @@ main_window_error_display (EmpathyMainWindow *window,
g_free (str);
content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));
- gtk_container_add (GTK_CONTAINER (content_area), image);
- gtk_container_add (GTK_CONTAINER (content_area), label);
+ gtk_box_pack_start (GTK_BOX (content_area), image, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (info_bar), "label", label);
g_object_set_data_full (G_OBJECT (info_bar),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]