diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-11-11 16:06:44 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-11-11 16:06:44 +0100 |
commit | 51dc4873fd8b4d4f14f902870b6110dd70a224e3 (patch) | |
tree | e56983907037a8e27007d27d551af9e8fd04eb0f /gtk/gtknativedialog.h | |
parent | 402225a8e23bcff118055568ca79f4b73a3951f8 (diff) | |
download | gtk+-51dc4873fd8b4d4f14f902870b6110dd70a224e3.tar.gz |
Add gtk_native_dialog_destroy()
Its very easy to get extra references to the NativeDialog so that
when you release your last reference any visible dialog is not
hidden. We handle this by adding a destroy method similar to how
you destroy regular toplevels.
Diffstat (limited to 'gtk/gtknativedialog.h')
-rw-r--r-- | gtk/gtknativedialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtknativedialog.h b/gtk/gtknativedialog.h index 8d5bd60234..de1a6559a5 100644 --- a/gtk/gtknativedialog.h +++ b/gtk/gtknativedialog.h @@ -54,6 +54,8 @@ void gtk_native_dialog_show (GtkNativeDialog *self); GDK_AVAILABLE_IN_3_20 void gtk_native_dialog_hide (GtkNativeDialog *self); GDK_AVAILABLE_IN_3_20 +void gtk_native_dialog_destroy (GtkNativeDialog *self); +GDK_AVAILABLE_IN_3_20 gboolean gtk_native_dialog_get_visible (GtkNativeDialog *self); GDK_AVAILABLE_IN_3_20 void gtk_native_dialog_set_modal (GtkNativeDialog *self, |