summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/nested_dispatcher_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/nested_dispatcher_gtk.cc')
-rw-r--r--views/controls/menu/nested_dispatcher_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/menu/nested_dispatcher_gtk.cc b/views/controls/menu/nested_dispatcher_gtk.cc
index 383447c..688df9b 100644
--- a/views/controls/menu/nested_dispatcher_gtk.cc
+++ b/views/controls/menu/nested_dispatcher_gtk.cc
@@ -20,7 +20,7 @@ bool NestedDispatcherGtk::RunAndSelfDestruct() {
bool nestable = MessageLoopForUI::current()->NestableTasksAllowed();
if (allow_nested_task_)
MessageLoopForUI::current()->SetNestableTasksAllowed(true);
- MessageLoopForUI::current()->Run(this);
+ MessageLoopForUI::current()->RunWithDispatcher(this);
if (allow_nested_task_)
MessageLoopForUI::current()->SetNestableTasksAllowed(nestable);
bool creator_is_deleted = creator_ == NULL;