diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-10-03 11:47:09 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2011-10-04 11:34:10 -0400 |
commit | 569b5ffd5bf687cbb37e17367f1d7ac7657eee2e (patch) | |
tree | 0d430d4f5fa43b25899769a9e02ed7ad54b27e9d /gtk/gtkappchooseronline.h | |
parent | 06dbbad5a7a7a6f50128fd607b650bd7ea4b5764 (diff) | |
download | gtk+-569b5ffd5bf687cbb37e17367f1d7ac7657eee2e.tar.gz |
appchooser: add a GCancellable to the search operation
So that we can cancel it when the dialog is destroyed.
https://bugzilla.gnome.org/show_bug.cgi?id=651818
Diffstat (limited to 'gtk/gtkappchooseronline.h')
-rw-r--r-- | gtk/gtkappchooseronline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkappchooseronline.h b/gtk/gtkappchooseronline.h index a8316c1e1e..457fb7b4d6 100644 --- a/gtk/gtkappchooseronline.h +++ b/gtk/gtkappchooseronline.h @@ -46,6 +46,7 @@ struct _GtkAppChooserOnlineInterface { void (*search_for_mimetype_async) (GtkAppChooserOnline *self, const gchar *content_type, GtkWindow *parent, + GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); @@ -64,6 +65,7 @@ GtkAppChooserOnline * _gtk_app_chooser_online_get_default_finish (GObjec void _gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self, const gchar *content_type, GtkWindow *parent, + GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); gboolean _gtk_app_chooser_online_search_for_mimetype_finish (GtkAppChooserOnline *self, |