[gnome-builder/wip/gtk4-port: 227/343] libide/greeter: fix invalid casts
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 227/343] libide/greeter: fix invalid casts
- Date: Mon, 4 Apr 2022 20:02:16 +0000 (UTC)
commit cca8a2156e08499b79e408e55a39bb84b123bd07
Author: Christian Hergert <chergert redhat com>
Date: Wed Mar 30 23:58:16 2022 -0700
libide/greeter: fix invalid casts
src/libide/greeter/ide-greeter-row.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/greeter/ide-greeter-row.c b/src/libide/greeter/ide-greeter-row.c
index 900740f3c..1152201ff 100644
--- a/src/libide/greeter/ide-greeter-row.c
+++ b/src/libide/greeter/ide-greeter-row.c
@@ -101,7 +101,7 @@ ide_greeter_row_get_property (GObject *object,
case PROP_SELECTED:
g_value_set_boolean (value,
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_button)));
+ gtk_check_button_get_active (GTK_CHECK_BUTTON (priv->check_button)));
break;
default:
@@ -125,8 +125,8 @@ ide_greeter_row_set_property (GObject *object,
break;
case PROP_SELECTED:
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->check_button),
- g_value_get_boolean (value));
+ gtk_check_button_set_active (GTK_CHECK_BUTTON (priv->check_button),
+ g_value_get_boolean (value));
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]