[gnome-bluetooth] pairing-dialog: Fix GtkDialog subclassing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] pairing-dialog: Fix GtkDialog subclassing
- Date: Mon, 21 Feb 2022 10:16:41 +0000 (UTC)
commit d392a20dc5717d51eb6bfa223bcffa7d464d0e46
Author: Jonas Dreßler <verdre v0yd nl>
Date: Fri Feb 18 11:17:06 2022 +0100
pairing-dialog: Fix GtkDialog subclassing
Right now the pairing dialog doesn't open because we're not specifying
the correct parent class when creating the GtkDialog subclass, so fix
that.
lib/bluetooth-pairing-dialog.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-pairing-dialog.h b/lib/bluetooth-pairing-dialog.h
index b732794a..8b0a4955 100644
--- a/lib/bluetooth-pairing-dialog.h
+++ b/lib/bluetooth-pairing-dialog.h
@@ -28,7 +28,7 @@ G_DECLARE_DERIVABLE_TYPE (BluetoothPairingDialog, bluetooth_pairing_dialog, BLUE
struct _BluetoothPairingDialogClass
{
- GObjectClass parent_class;
+ GtkDialogClass parent_class;
};
typedef enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]