utils: Remove get_source_parent_name_color

One less weird function lurking around.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/610>
This commit is contained in:
Georges Basile Stavracas Neto
2025-07-02 18:04:26 +00:00
committed by Marge Bot
parent 281191b5b3
commit d16cc2bc68
6 changed files with 18 additions and 73 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ create_calendar_row (GcalManager *manager,
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box);
/* Setup also a cool tooltip */
get_source_parent_name_color (manager, gcal_calendar_get_source (calendar), &parent_name, NULL);
parent_name = e_source_dup_display_name (gcal_calendar_get_parent_source (calendar));
if (read_only)
tooltip = g_strdup_printf (_("%s (this calendar is read-only)"), parent_name);