mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-08 04:45:31 +00:00
call-record-row: Turn the realized check into a critical
This makes sure we don't ignore it should it happen again. Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/756>
This commit is contained in:
parent
4baa4f5141
commit
38ad7dae2a
1 changed files with 1 additions and 4 deletions
|
@ -384,10 +384,7 @@ on_long_pressed (GtkGestureLongPress *gesture,
|
|||
gdouble y,
|
||||
GtkWidget *self)
|
||||
{
|
||||
if (!gtk_widget_get_realized (self)) {
|
||||
g_warning ("widget is not realized, why does it emit 'pressed'? Aborting..");
|
||||
return;
|
||||
}
|
||||
g_return_if_fail (gtk_widget_get_realized (self));
|
||||
|
||||
context_menu (self, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue