views/month-cell: Don't assert icon_tooltip_binding

The g_assert line would exit the program whenever we tried targeting
a month cell from the inspector.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/601>
This commit is contained in:
Hari Rana
2025-07-05 18:06:05 -04:00
parent 8dd8538014
commit 110856ee1a
-2
View File
@@ -321,8 +321,6 @@ on_breakpoint_changed_cb (GcalMonthCell *self,
}
else
{
g_assert (G_IS_BINDING (self->icon_tooltip_binding));
g_clear_pointer (&self->icon_tooltip_binding, g_binding_unbind);
gtk_widget_set_tooltip_text (GTK_WIDGET (self->weather_icon), NULL);
}