[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-888-g35813d913
paul at claws-mail.org
paul at claws-mail.org
Fri Dec 6 13:48:44 CET 2019
The branch, gtk3 has been updated
via 35813d913762cdd2e9fd4f7919593effd97de70f (commit)
from e3e5a4cd40b93c5444048a19f6f8d3886084dcd2 (commit)
Summary of changes:
src/addressbook.c | 5 +++--
src/folderview.c | 5 +++--
src/gtk/gtkcmclist.c | 4 ++--
src/summaryview.c | 5 +++--
4 files changed, 11 insertions(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit 35813d913762cdd2e9fd4f7919593effd97de70f
Author: paul <paul at claws-mail.org>
Date: Fri Dec 6 12:48:40 2019 +0000
replace deprecated gtk_drag_begin()
diff --git a/src/addressbook.c b/src/addressbook.c
index 1d86d821c..ed547def6 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -5701,8 +5701,9 @@ static void addressbook_start_drag(GtkWidget *widget, gint button,
if (addressbook_target_list == NULL)
addressbook_target_list = gtk_target_list_new(
addressbook_drag_types, 1);
- context = gtk_drag_begin(widget, addressbook_target_list,
- GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event);
+ context = gtk_drag_begin_with_coordinates(widget, addressbook_target_list,
+ GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event,
+ -1, -1);
gtk_drag_set_icon_default(context);
}
diff --git a/src/folderview.c b/src/folderview.c
index c7bc09a8b..989a486a5 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2880,8 +2880,9 @@ static void folderview_start_drag(GtkWidget *widget, gint button, GdkEvent *even
if (folderview->nodes_to_recollapse)
g_slist_free(folderview->nodes_to_recollapse);
folderview->nodes_to_recollapse = NULL;
- context = gtk_drag_begin(widget, folderview->target_list,
- GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event);
+ context = gtk_drag_begin_with_coordinates(widget, folderview->target_list,
+ GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event,
+ -1, -1);
gtk_drag_set_icon_default(context);
}
#endif
diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c
index 904057715..105ced569 100644
--- a/src/gtk/gtkcmclist.c
+++ b/src/gtk/gtkcmclist.c
@@ -5414,8 +5414,8 @@ gtk_cmclist_motion (GtkWidget *widget,
GtkTargetList *target_list;
target_list = gtk_target_list_new (&clist_target_table, 1);
- gtk_drag_begin (widget, target_list, GDK_ACTION_MOVE,
- clist->drag_button, (GdkEvent *)event);
+ gtk_drag_begin_with_coordinates(widget, target_list, GDK_ACTION_MOVE,
+ clist->drag_button, (GdkEvent *)event, -1, -1);
}
return TRUE;
diff --git a/src/summaryview.c b/src/summaryview.c
index fd0d6e4c9..524bd9ccd 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -7486,8 +7486,9 @@ static void summary_start_drag(GtkWidget *widget, gint button, GdkEvent *event,
if (summaryview->selected == NULL) return;
- context = gtk_drag_begin(widget, summaryview->target_list,
- GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event);
+ context = gtk_drag_begin_with_coordinates(widget, summaryview->target_list,
+ GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_DEFAULT, button, event,
+ -1, -1);
gtk_drag_set_icon_default(context);
if (prefs_common.layout_mode == SMALL_LAYOUT) {
GtkWidget *paned = gtk_widget_get_parent(GTK_WIDGET_PTR(summaryview));
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list