aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-sorted.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-11-06 07:34:32 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-11-06 07:34:32 +0800
commit4256558b9c4d4a37236ba3daa66efd3d3b465851 (patch)
treed871785591127197578037dcd89d829c0c543fe8 /widgets/table/e-tree-sorted.c
parent9b97a17eb728152cebe16d53d842c950a85b3505 (diff)
downloadgsoc2013-evolution-4256558b9c4d4a37236ba3daa66efd3d3b465851.tar.gz
gsoc2013-evolution-4256558b9c4d4a37236ba3daa66efd3d3b465851.tar.zst
gsoc2013-evolution-4256558b9c4d4a37236ba3daa66efd3d3b465851.zip
remove ref/unref G_OBJECT masks ditto ditto ditto ditto ditto ditto ditto
2002-11-05 Mike Kestner <mkestner@ximian.com> * e-cell-text.c : remove ref/unref G_OBJECT masks * e-table-extras.c : ditto * e-table-header-item.c : ditto * e-table-item.c : ditto * e-table-memory-store.c : ditto * e-table-one.c : ditto * e-tree-sorted.c : ditto * e-tree-table-adapter.c : ditto * e-tree.c : ditto svn path=/trunk/; revision=18572
Diffstat (limited to 'widgets/table/e-tree-sorted.c')
-rw-r--r--widgets/table/e-tree-sorted.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/table/e-tree-sorted.c b/widgets/table/e-tree-sorted.c
index 8acd093b9d..20ecdad63f 100644
--- a/widgets/table/e-tree-sorted.c
+++ b/widgets/table/e-tree-sorted.c
@@ -616,7 +616,7 @@ ets_dispose (GObject *object)
g_signal_handler_disconnect (G_OBJECT (priv->source),
priv->tree_model_node_request_collapse_id);
- g_object_unref (G_OBJECT (priv->source));
+ g_object_unref (priv->source);
priv->source = NULL;
priv->tree_model_pre_change_id = 0;
@@ -635,7 +635,7 @@ ets_dispose (GObject *object)
priv->sort_info_changed_id);
priv->sort_info_changed_id = 0;
- g_object_unref (G_OBJECT (priv->sort_info));
+ g_object_unref (priv->sort_info);
priv->sort_info = NULL;
}
@@ -646,7 +646,7 @@ ets_dispose (GObject *object)
}
if (priv->full_header)
- g_object_unref(G_OBJECT(priv->full_header));
+ g_object_unref(priv->full_header);
}
@@ -1260,11 +1260,11 @@ e_tree_sorted_construct (ETreeSorted *ets, ETreeModel *source, ETableHeader *ful
{
ets->priv->source = source;
if (source)
- g_object_ref(G_OBJECT(source));
+ g_object_ref(source);
ets->priv->full_header = full_header;
if (full_header)
- g_object_ref(G_OBJECT(full_header));
+ g_object_ref(full_header);
e_tree_sorted_set_sort_info (ets, sort_info);
@@ -1368,12 +1368,12 @@ e_tree_sorted_set_sort_info (ETreeSorted *ets, ETableSortInfo *sort_info)
g_signal_handler_disconnect (G_OBJECT (ets->priv->sort_info),
ets->priv->sort_info_changed_id);
ets->priv->sort_info_changed_id = 0;
- g_object_unref (G_OBJECT (ets->priv->sort_info));
+ g_object_unref (ets->priv->sort_info);
}
ets->priv->sort_info = sort_info;
if (sort_info) {
- g_object_ref(G_OBJECT(sort_info));
+ g_object_ref(sort_info);
ets->priv->sort_info_changed_id = g_signal_connect (G_OBJECT (ets->priv->sort_info), "sort_info_changed",
G_CALLBACK (ets_sort_info_changed), ets);
}