[glade3] * plugins/gtk+/glade-gtk.c: Fixed crash with notebook rebuilding children (bug 365462).
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * plugins/gtk+/glade-gtk.c: Fixed crash with notebook rebuilding children (bug 365462).
- Date: Wed, 15 Dec 2010 18:28:09 +0000 (UTC)
commit 7dbf1524b6cfa692dca640d193b1cc893b7c6fcc
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Dec 16 03:33:25 2010 +0900
* plugins/gtk+/glade-gtk.c: Fixed crash with notebook rebuilding children (bug 365462).
ChangeLog | 2 ++
plugins/gtk+/glade-gtk.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 451ad27..b687fd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@
* gladeui/glade-palette.c: Add a label in a box to the palette items to avoid
the evil ellipsization.
+ * plugins/gtk+/glade-gtk.c: Fixed crash with notebook rebuilding children (bug 365462).
+
2010-12-14 Tristan Van Berkom <tristanvb openismus com>
* Reverted 3.0 commit, now targetting this branch to the final GTK+ 2.x chapter
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 23bc9be..9f98a92 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -4189,8 +4189,6 @@ glade_gtk_notebook_replace_child (GladeWidgetAdaptor *adaptor,
glade_widget_pack_property_get (gcurrent, "position", &position);
else
{
- g_assert (GLADE_IS_PLACEHOLDER (current));
-
if ((position = gtk_notebook_page_num (notebook, current)) < 0)
{
position = notebook_search_tab (notebook, current);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]