calendars-page: Remove add_calendar_row ID

This removes the leftover and unused code from https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/382.
This commit is contained in:
Hari Rana
2024-02-16 18:16:24 -05:00
parent 2b9933e3f4
commit 704af0870d
2 changed files with 1 additions and 3 deletions
@@ -33,7 +33,6 @@ struct _GcalCalendarsPage
{
AdwBin parent;
GtkListBoxRow *add_calendar_row;
GtkListBox *listbox;
AdwToastOverlay *toast_overlay;
@@ -474,7 +473,6 @@ gcal_calendars_page_class_init (GcalCalendarsPageClass *klass)
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/calendar/ui/gui/calendar-management/gcal-calendars-page.ui");
gtk_widget_class_bind_template_child (widget_class, GcalCalendarsPage, add_calendar_row);
gtk_widget_class_bind_template_child (widget_class, GcalCalendarsPage, listbox);
gtk_widget_class_bind_template_child (widget_class, GcalCalendarsPage, toast_overlay);
@@ -62,7 +62,7 @@
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<child>
<object class="GtkButton" id="add_calendar_row">
<object class="GtkButton">
<property name="label" translatable="yes">_Add Calendar…</property>
<property name="use-underline">true</property>
<signal name="clicked" handler="on_new_calendar_button_clicked_cb" object="GcalCalendarsPage" swapped="no" />