[libadwaita/wip/exalm/bump-gtk: 5/5] tab-box: Remove a GTK 4.4.0 check
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/bump-gtk: 5/5] tab-box: Remove a GTK 4.4.0 check
- Date: Mon, 27 Sep 2021 13:40:17 +0000 (UTC)
commit 86e77671152bb7088a4e69305c2d03f576fa9a38
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 27 18:39:54 2021 +0500
tab-box: Remove a GTK 4.4.0 check
We now depend on it.
src/adw-tab-box.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 2a5d38dc..af6fc84f 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -2112,11 +2112,7 @@ remove_placeholder (AdwTabBox *self)
static inline AdwTabBox *
get_source_tab_box (GtkDropTarget *target)
{
-#if GTK_CHECK_VERSION (4, 4, 0)
GdkDrop *drop = gtk_drop_target_get_current_drop (target);
-#else
- GdkDrop *drop = gtk_drop_target_get_drop (target);
-#endif
GdkDrag *drag = gdk_drop_get_drag (drop);
if (!drag)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]