aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-field-chooser-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-field-chooser-item.c')
-rw-r--r--widgets/table/e-table-field-chooser-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c
index 435b7c63c2..0d72dc7ad8 100644
--- a/widgets/table/e-table-field-chooser-item.c
+++ b/widgets/table/e-table-field-chooser-item.c
@@ -564,12 +564,12 @@ etfci_start_drag (ETableFieldChooserItem *etfci, GdkEvent *event, double x, doub
E_TABLE_COL_ARROW_NONE);
gtk_drag_set_icon_pixmap (context,
- gdk_window_get_colormap (widget->window),
+ gdk_drawable_get_colormap (GDK_DRAWABLE (widget->window)),
pixmap,
NULL,
etfci->width / 2,
button_height / 2);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
etfci->maybe_drag = FALSE;
}