xed-completion-plugin.c: Clean up the code style

This commit is contained in:
JosephMcc 2020-09-08 23:03:00 -07:00 committed by Michael Webster
parent 3bf1b62a34
commit 4dcfaada50
1 changed files with 30 additions and 32 deletions

View File

@ -293,8 +293,7 @@ xed_wordcompletion_view_activate (XedViewActivatable *activatable)
priv->provider = g_object_ref (provider);
gtk_source_completion_add_provider (completion, provider, NULL);
gtk_source_completion_words_register (GTK_SOURCE_COMPLETION_WORDS (provider),
buf);
gtk_source_completion_words_register (GTK_SOURCE_COMPLETION_WORDS (provider), buf);
}
static void
@ -315,8 +314,7 @@ xed_wordcompletion_view_deactivate (XedViewActivatable *activatable)
priv->provider,
NULL);
gtk_source_completion_words_unregister (GTK_SOURCE_COMPLETION_WORDS (priv->provider),
buf);
gtk_source_completion_words_unregister (GTK_SOURCE_COMPLETION_WORDS (priv->provider), buf);
}
static void