static gboolean gb_vim_command_wq (GtkSourceView *source_view, const gchar *command, const gchar *options, GError **error) { return (gb_vim_command_write (source_view, command, options, error) && gb_vim_command_quit (source_view, command, options, error)); }
static gboolean gb_vim_command_wq (GtkWidget *active_widget, const gchar *command, const gchar *options, GError **error) { g_assert (GTK_IS_WIDGET (active_widget)); if (IDE_IS_EDITOR_VIEW (active_widget)) return (gb_vim_command_write (active_widget, command, options, error) && gb_vim_command_quit (active_widget, command, options, error)); else return gb_vim_set_source_view_error (error); }