From 8bd5cc1e8646d407097c154d58b75fe02cf0631b Mon Sep 17 00:00:00 2001 From: Evgenii Pashkin Date: Thu, 7 Dec 2017 18:52:34 +0300 Subject: [PATCH] Fix doc test --- gtk/docs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/docs.md b/gtk/docs.md index 6172f404..62d567a2 100644 --- a/gtk/docs.md +++ b/gtk/docs.md @@ -357,6 +357,8 @@ the contents of the tooltip for `self`, or `None` This function creates a `FileChooserDialog` with buttons: ```no_run +# use gtk::prelude::*; +# use gtk::{FileChooserAction, FileChooserDialog, ResponseType, Window}; let dialog = FileChooserDialog::with_buttons::( Some("Open File"), None,