Browse Source

Using newer main iteration code in dialogs.cc

merge-requests/365/head
eidheim 10 years ago
parent
commit
a8367e3cb3
  1. 4
      src/dialogs.cc

4
src/dialogs.cc

@ -40,8 +40,8 @@ Dialog::Message::Message(const std::string &text): Gtk::Window(Gtk::WindowType::
}
void Dialog::Message::wait_until_drawn() {
while(gtk_events_pending() || !label_drawn)
gtk_main_iteration();
while(!label_drawn)
g_main_context_iteration(NULL, false);
}
std::string Dialog::gtk_dialog(const std::string &title,

Loading…
Cancel
Save