nativedialog: Remove unused run state

This commit is contained in:
Timm Bäder 2021-01-30 16:01:54 +01:00
parent 6e4bba3d75
commit 0d5957b97a

View File

@ -68,10 +68,6 @@ struct _GtkNativeDialogPrivate
guint visible : 1;
guint modal : 1;
/* Run state */
int run_response_id;
GMainLoop *run_loop; /* Non-NULL when in run */
};
enum {
@ -347,9 +343,6 @@ gtk_native_dialog_hide (GtkNativeDialog *self)
klass->hide (self);
if (priv->run_loop && g_main_loop_is_running (priv->run_loop))
g_main_loop_quit (priv->run_loop);
g_object_notify_by_pspec (G_OBJECT (self), native_props[PROP_VISIBLE]);
}