aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-selection-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-selection-model.c')
-rw-r--r--widgets/misc/e-selection-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index 6e8f1f7567..60df46d2da 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -55,7 +55,7 @@ add_sorter(ESelectionModel *esm, ESorter *sorter)
{
esm->sorter = sorter;
if (sorter) {
- gtk_object_ref(GTK_OBJECT(sorter));
+ g_object_ref (sorter);
}
}
@@ -63,7 +63,7 @@ inline static void
drop_sorter(ESelectionModel *esm)
{
if (esm->sorter) {
- gtk_object_unref(GTK_OBJECT(esm->sorter));
+ g_object_unref (esm->sorter);
}
esm->sorter = NULL;
}