mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
display: fix null pointer dereference
removing unused GError
This commit is contained in:
parent
f8cd126d6f
commit
71f9e636b3
1 changed files with 1 additions and 3 deletions
|
@ -438,13 +438,11 @@ insert_text_cb (GtkEditable *editable,
|
|||
static void
|
||||
calls_call_display_init (CallsCallDisplay *self)
|
||||
{
|
||||
g_autoptr(GError) err = NULL;
|
||||
|
||||
gtk_widget_init_template (GTK_WIDGET (self));
|
||||
|
||||
if (!call_audio_is_inited ())
|
||||
{
|
||||
g_critical ("libcallaudio not initialized: %s", err->message);
|
||||
g_critical ("libcallaudio not initialized");
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->speaker), FALSE);
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->mute), FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue