25 lines
756 B
Diff
25 lines
756 B
Diff
From: Richard Hughes <richard@hughsie.com>
|
|
Date: Sat, 24 Jun 2023 12:06:12 +0100
|
|
Subject: Fix the callback signature to fix a crash
|
|
Patch-mainline: 0.4.0?
|
|
Git-commit: c620b4a4b3dfc2ce58cd60b9d5209fb19396fc42
|
|
References: bsc#1212840 https://github.com/hughsie/colord-gtk/issues/22
|
|
|
|
Fixes https://github.com/hughsie/colord-gtk/issues/22
|
|
|
|
---
|
|
libcolord-gtk/cd-window.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/libcolord-gtk/cd-window.c
|
|
+++ b/libcolord-gtk/cd-window.c
|
|
@@ -295,7 +295,7 @@ cd_window_get_profile_device_find_cb (GObject *source,
|
|
}
|
|
|
|
static void
|
|
-cd_window_device_changed_cb (CdDevice *device, CdWindow *window)
|
|
+cd_window_device_changed_cb (CdClient *client, CdDevice *device, CdWindow *window)
|
|
{
|
|
CdProfile *profile;
|
|
|