diff options
Diffstat (limited to 'lib/bluetooth-settings-widget.c')
-rw-r--r-- | lib/bluetooth-settings-widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c index 2f5b7403..ac1c9baa 100644 --- a/lib/bluetooth-settings-widget.c +++ b/lib/bluetooth-settings-widget.c @@ -910,6 +910,10 @@ create_callback (GObject *source_object, return; } + priv = BLUETOOTH_SETTINGS_WIDGET_GET_PRIVATE (user_data); + + g_clear_pointer (&priv->pairing_dialog, gtk_widget_destroy); + turn_off_pairing (user_data, path); dbus_error = g_dbus_error_get_remote_error (error); |