[libadwaita/wip/exalm/deprecation] tab-box: Use gtk_drop_target_get_current_drop() instead of get_drop()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/deprecation] tab-box: Use gtk_drop_target_get_current_drop() instead of get_drop()
- Date: Tue, 20 Jul 2021 08:45:33 +0000 (UTC)
commit 96f16e1157e51b2aaed98ce653ec8f6ed185f9d9
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jul 20 13:43:55 2021 +0500
tab-box: Use gtk_drop_target_get_current_drop() instead of get_drop()
Fix a deprecation warning.
src/adw-tab-box.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 0967c7c0..84b2302d 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -2109,7 +2109,7 @@ remove_placeholder (AdwTabBox *self)
static inline AdwTabBox *
get_source_tab_box (GtkDropTarget *target)
{
- GdkDrop *drop = gtk_drop_target_get_drop (target);
+ GdkDrop *drop = gtk_drop_target_get_current_drop (target);
GdkDrag *drag = gdk_drop_get_drag (drop);
if (!drag)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]