[balsa/gtk4: 307/311] Various: Build with GTK < 4.3




commit 5f423da5faa8d0794ba767d89908c06d56e74824
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Jul 21 22:27:11 2021 -0400

    Various: Build with GTK < 4.3
    
    modified:   src/balsa-mblist.c
    modified:   src/main-window.c
    modified:   src/sendmsg-window.c

 src/balsa-mblist.c   | 6 +++---
 src/main-window.c    | 6 +++---
 src/sendmsg-window.c | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/balsa-mblist.c b/src/balsa-mblist.c
index cbe997b80..3f18b2ae6 100644
--- a/src/balsa-mblist.c
+++ b/src/balsa-mblist.c
@@ -814,11 +814,11 @@ bmbl_drag_drop(GtkDropTarget *drop_target,
 {
     GdkDrop *drop;
 
-#if       GTK_CHECK_VERSION(4, 4, 0)
+#if       GTK_CHECK_VERSION(4, 3, 0)
     drop = gtk_drop_target_get_current_drop(drop_target);
-#else  /* GTK_CHECK_VERSION(4, 4, 0) */
+#else  /* GTK_CHECK_VERSION(4, 3, 0) */
     drop = gtk_drop_target_get_drop(drop_target);
-#endif /* GTK_CHECK_VERSION(4, 4, 0) */
+#endif /* GTK_CHECK_VERSION(4, 3, 0) */
     if (drop == NULL)
         return FALSE;
 
diff --git a/src/main-window.c b/src/main-window.c
index dfac2259c..964a3dd84 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2799,11 +2799,11 @@ bw_notebook_tab_drag_drop(GtkDropTarget *drop_target,
 {
     GdkDrop *drop;
 
-#if       GTK_CHECK_VERSION(4, 4, 0)
+#if       GTK_CHECK_VERSION(4, 3, 0)
     drop = gtk_drop_target_get_current_drop(drop_target);
-#else  /* GTK_CHECK_VERSION(4, 4, 0) */
+#else  /* GTK_CHECK_VERSION(4, 3, 0) */
     drop = gtk_drop_target_get_drop(drop_target);
-#endif /* GTK_CHECK_VERSION(4, 4, 0) */
+#endif /* GTK_CHECK_VERSION(4, 3, 0) */
     if (drop == NULL)
         return FALSE;
 
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index c4081e8c1..a456625ae 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -2380,11 +2380,11 @@ sw_address_view_drop(GtkDropTarget *drop_target,
     GdkDrop *drop;
     const char *address;
 
-#if       GTK_CHECK_VERSION(4, 4, 0)
+#if       GTK_CHECK_VERSION(4, 3, 0)
     drop = gtk_drop_target_get_current_drop(drop_target);
-#else  /* GTK_CHECK_VERSION(4, 4, 0) */
+#else  /* GTK_CHECK_VERSION(4, 3, 0) */
     drop = gtk_drop_target_get_drop(drop_target);
-#endif /* GTK_CHECK_VERSION(4, 4, 0) */
+#endif /* GTK_CHECK_VERSION(4, 3, 0) */
 
     if (drop == NULL || !G_VALUE_HOLDS_STRING(value))
         return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]