1 /*
2  * gnome-keyring
3  *
4  * Copyright (C) 2011 Collabora Ltd.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as
8  * published by the Free Software Foundation; either version 2.1 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
18  *
19  * Author: Stef Walter <stefw@collabora.co.uk>
20  */
21 
22 #ifndef GCR_DIALOG_UTIL_H
23 #define GCR_DIALOG_UTIL_H
24 
25 #include <gtk/gtk.h>
26 #include <gio/gio.h>
27 
28 G_BEGIN_DECLS
29 
30 void     _gcr_dialog_util_run_async       (GtkDialog *dialog,
31                                            GCancellable *cancellable,
32                                            GAsyncReadyCallback callback,
33                                            gpointer user_data);
34 
35 gint     _gcr_dialog_util_run_finish      (GtkDialog *dialog,
36                                            GAsyncResult *result);
37 
38 G_END_DECLS
39 
40 #endif /* __GCR_TOKEN_MANAGER_H__ */
41