[gnome-logs] Use gtk_buildable_get_buildable_id
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Use gtk_buildable_get_buildable_id
- Date: Mon, 28 Mar 2022 16:44:00 +0000 (UTC)
commit 8740dcd81c3390f829faced2d601a0877c426e8d
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Mon Oct 11 10:17:57 2021 +0200
Use gtk_buildable_get_buildable_id
Rather than get_name which was deprecated.
src/gl-searchpopover.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gl-searchpopover.c b/src/gl-searchpopover.c
index 0c7a816..2537fd1 100644
--- a/src/gl-searchpopover.c
+++ b/src/gl-searchpopover.c
@@ -920,7 +920,7 @@ spinbox_entry_validate_hour_min_sec (GtkSpinButton *spin_button,
priv = gl_search_popover_get_instance_private (popover);
- spinbutton_id = gtk_buildable_get_name (GTK_BUILDABLE (spin_button));
+ spinbutton_id = gtk_buildable_get_buildable_id (GTK_BUILDABLE (spin_button));
/* Check if called from hour spinboxes */
if (g_strcmp0 (spinbutton_id, "end_time_hour_spin") == 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]