Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4386)

Unified Diff: chrome/browser/gtk/tabs/tab_strip_gtk.cc

Issue 159419: Correctly update drag status for drags over renderer. This makes things look ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: do what Brett says Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/tabs/tab_strip_gtk.cc
===================================================================
--- chrome/browser/gtk/tabs/tab_strip_gtk.cc (revision 21718)
+++ chrome/browser/gtk/tabs/tab_strip_gtk.cc (working copy)
@@ -701,8 +701,8 @@
NULL, 0,
static_cast<GdkDragAction>(
GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK));
- GtkDndUtil::SetDestTargetListFromCodeMask(tabstrip_.get(),
- GtkDndUtil::TEXT_URI_LIST);
+ static const int targets[] = { GtkDndUtil::TEXT_URI_LIST, 0 };
+ GtkDndUtil::SetDestTargetList(tabstrip_.get(), targets);
g_signal_connect(G_OBJECT(tabstrip_.get()), "expose-event",
G_CALLBACK(OnExpose), this);

Powered by Google App Engine
This is Rietveld 408576698