Commit 33911534 authored by ncj674@motorola.com's avatar ncj674@motorola.com

Linux/Gtk: Drag source should not delete source data on drag finish in omnibox.

BUG=104946.
TEST=As described in the bug.

Review URL: http://codereview.chromium.org/8606007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112960 0039d316-1c4b-4281-b951-d872f2087c98
parent 6b5576cb
...@@ -1565,7 +1565,7 @@ void OmniboxViewGtk::HandleDragDataReceived(GtkWidget* sender, ...@@ -1565,7 +1565,7 @@ void OmniboxViewGtk::HandleDragDataReceived(GtkWidget* sender,
string16 possible_url = UTF8ToUTF16(reinterpret_cast<char*>(text)); string16 possible_url = UTF8ToUTF16(reinterpret_cast<char*>(text));
g_free(text); g_free(text);
if (OnPerformDropImpl(possible_url)) { if (OnPerformDropImpl(possible_url)) {
gtk_drag_finish(context, TRUE, TRUE, time); gtk_drag_finish(context, TRUE, FALSE, time);
static guint signal_id = static guint signal_id =
g_signal_lookup("drag-data-received", GTK_TYPE_WIDGET); g_signal_lookup("drag-data-received", GTK_TYPE_WIDGET);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment