[geany/geany] df3d35: No need to update GdkDragContext:action

Colomban Wendling git-noreply at xxxxx
Sat Sep 15 22:28:46 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 15 Sep 2012 22:28:46
Commit:      df3d35dab11a1f3afe99c656d8c7ef06d8ab4a23
             https://github.com/geany/geany/commit/df3d35dab11a1f3afe99c656d8c7ef06d8ab4a23

Log Message:
-----------
No need to update GdkDragContext:action

Updating GdkDragContext:action is not needed and this field is private
anyway.


Modified Paths:
--------------
    src/notebook.c

Modified: src/notebook.c
5 files changed, 0 insertions(+), 5 deletions(-)
===================================================================
@@ -785,11 +785,6 @@ void notebook_remove_page(gint page_num)
 
 	if (length > 0 && gtk_selection_data_get_format(data) == 8)
 	{
-		if (drag_context->action == GDK_ACTION_ASK)
-		{
-			drag_context->action = GDK_ACTION_COPY;
-		}
-
 		document_open_file_list((const gchar *)gtk_selection_data_get_data(data), length);
 
 		success = TRUE;


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list