xed-completion-plugin.c: Clean up the code style
This commit is contained in:
parent
3bf1b62a34
commit
4dcfaada50
|
@ -293,8 +293,7 @@ xed_wordcompletion_view_activate (XedViewActivatable *activatable)
|
||||||
priv->provider = g_object_ref (provider);
|
priv->provider = g_object_ref (provider);
|
||||||
|
|
||||||
gtk_source_completion_add_provider (completion, provider, NULL);
|
gtk_source_completion_add_provider (completion, provider, NULL);
|
||||||
gtk_source_completion_words_register (GTK_SOURCE_COMPLETION_WORDS (provider),
|
gtk_source_completion_words_register (GTK_SOURCE_COMPLETION_WORDS (provider), buf);
|
||||||
buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -315,8 +314,7 @@ xed_wordcompletion_view_deactivate (XedViewActivatable *activatable)
|
||||||
priv->provider,
|
priv->provider,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
gtk_source_completion_words_unregister (GTK_SOURCE_COMPLETION_WORDS (priv->provider),
|
gtk_source_completion_words_unregister (GTK_SOURCE_COMPLETION_WORDS (priv->provider), buf);
|
||||||
buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue