anjuta r4235 - in trunk: . plugins/document-manager
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4235 - in trunk: . plugins/document-manager
- Date: Mon, 8 Sep 2008 20:07:38 +0000 (UTC)
Author: sgranjoux
Date: Mon Sep 8 20:07:37 2008
New Revision: 4235
URL: http://svn.gnome.org/viewvc/anjuta?rev=4235&view=rev
Log:
* plugins/document-manager/anjuta-docman.c:
Fix #551261 Crash when closing a moved editor
Modified:
trunk/ChangeLog
trunk/plugins/document-manager/anjuta-docman.c
Modified: trunk/plugins/document-manager/anjuta-docman.c
==============================================================================
--- trunk/plugins/document-manager/anjuta-docman.c (original)
+++ trunk/plugins/document-manager/anjuta-docman.c Mon Sep 8 20:07:37 2008
@@ -998,7 +998,13 @@
if (page)
{
gtk_container_remove (GTK_CONTAINER (page->widget), GTK_WIDGET(doc));
+ g_signal_handlers_block_by_func (G_OBJECT (docman),
+ (gpointer) on_notebook_switch_page,
+ (gpointer) docman);
gtk_container_remove (GTK_CONTAINER (docman), page->widget);
+ g_signal_handlers_unblock_by_func (G_OBJECT (docman),
+ (gpointer) on_notebook_switch_page,
+ (gpointer) docman);
if (page == docman->priv->cur_page)
docman->priv->cur_page = NULL;
docman->priv->pages = g_list_remove (docman->priv->pages, (gpointer)page);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]