aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-click-to-add.c4
-rw-r--r--widgets/table/e-table-field-chooser-item.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index a2e4f82bf1..7630e62bb7 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -73,7 +73,7 @@ etcta_add_table_header (ETableClickToAdd *etcta, ETableHeader *header)
{
etcta->eth = header;
if (etcta->eth)
- gtk_object_ref (GTK_OBJECT (etcta->eth));
+ g_object_ref (etcta->eth);
if (etcta->row)
gnome_canvas_item_set(GNOME_CANVAS_ITEM(etcta->row),
"ETableHeader", header,
@@ -90,7 +90,7 @@ etcta_drop_table_header (ETableClickToAdd *etcta)
header = GTK_OBJECT (etcta->eth);
- gtk_object_unref (header);
+ g_object_unref (header);
etcta->eth = NULL;
}
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c
index ccfba4c56e..b385ea32c9 100644
--- a/widgets/table/e-table-field-chooser-item.c
+++ b/widgets/table/e-table-field-chooser-item.c
@@ -248,7 +248,7 @@ etfci_drop_full_header (ETableFieldChooserItem *etfci)
etfci->full_header_dimension_change_id = 0;
if (header)
- gtk_object_unref (header);
+ g_object_unref (header);
etfci->full_header = NULL;
etfci->height = 0;
e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(etfci));
@@ -298,7 +298,7 @@ etfci_drop_table_header (ETableFieldChooserItem *etfci)
etfci->table_header_dimension_change_id = 0;
if (header)
- gtk_object_unref (header);
+ g_object_unref (header);
etfci->header = NULL;
etfci->height = 0;
e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(etfci));