Commit ee126b36 authored by Bob Ham's avatar Bob Ham

Merge branch 'wip/sadiq/fixes' into 'master'

new-call-box: Use nul-terminated string to set as buffer text

See merge request !42
parents 7481e022 d4b6e92f
Pipeline #4011 passed with stages
in 4 minutes and 1 second
......@@ -65,8 +65,9 @@ dial_pad_symbol_clicked_cb (CallsNewCallBox *self,
GtkEntryBuffer *buf = gtk_entry_get_buffer (GTK_ENTRY (self->number_entry));
guint len = gtk_entry_buffer_get_length (buf);
const gchar str[] = {symbol, '\0'};
gtk_entry_buffer_insert_text (buf, len, &symbol, 1);
gtk_entry_buffer_insert_text (buf, len, str, 1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment