[evolution/gtk3] Fix et_set_property runtime warnings on close
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gtk3] Fix et_set_property runtime warnings on close
- Date: Mon, 24 Jan 2011 10:22:48 +0000 (UTC)
commit 1abdc7db57e38fdc436d378ede576865754877bd
Author: Milan Crha <mcrha redhat com>
Date: Mon Jan 24 11:22:16 2011 +0100
Fix et_set_property runtime warnings on close
widgets/table/e-tree.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 1e192da..8dbda3d 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -1995,7 +1995,9 @@ et_set_property (GObject *object,
{
ETree *etree = E_TREE (object);
- g_return_if_fail (etree->priv);
+ /* values for GtkScrollable interface can be set after dispose call, thus ignore it */
+ if (!etree->priv)
+ return;
switch (prop_id) {
case PROP_LENGTH_THRESHOLD:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]