a11y: Static analysis fixes

This commit is contained in:
Matthias Clasen 2021-05-03 07:33:31 -04:00
parent e2722f03ac
commit 6863528df1

View File

@ -1110,7 +1110,7 @@ text_view_handle_method (GDBusConnection *connection,
}
else if (g_strcmp0 (method_name, "ScrollSubstringTo") == 0)
{
GtkTextBuffer *buffer = buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget));
GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget));
GtkTextIter iter;
int start_offset = 0;
int end_offset = 0;