nautilus r14658 - in trunk: . src
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14658 - in trunk: . src
- Date: Mon, 22 Sep 2008 09:56:35 +0000 (UTC)
Author: cneumair
Date: Mon Sep 22 09:56:35 2008
New Revision: 14658
URL: http://svn.gnome.org/viewvc/nautilus?rev=14658&view=rev
Log:
2008-09-22 Christian Neumair <cneumair gnome org>
* src/nautilus-window-slot.c
(nautilus_window_slot_update_query_editor):
Add weak ref for query editor pointer.
Modified:
trunk/ChangeLog
trunk/src/nautilus-window-slot.c
Modified: trunk/src/nautilus-window-slot.c
==============================================================================
--- trunk/src/nautilus-window-slot.c (original)
+++ trunk/src/nautilus-window-slot.c Mon Sep 22 09:56:35 2008
@@ -479,11 +479,13 @@
{
if (slot->query_editor != NULL) {
gtk_widget_destroy (GTK_WIDGET (slot->query_editor));
- slot->query_editor = NULL;
+ g_assert (slot->query_editor == NULL);
}
EEL_CALL_METHOD (NAUTILUS_WINDOW_SLOT_CLASS, slot,
update_query_editor, (slot));
+
+ eel_add_weak_pointer (&slot->query_editor);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]